tshiozak
23affd3c41
make sure that _citrus_lookup family functions can be specified their case
...
sensitivity.
2004-07-21 14:16:34 +00:00
itojun
588f60ad8b
now that e.f.f.3.ip6.arpa is ready, we no longer need to query ip6.int
2004-07-21 03:16:29 +00:00
drochner
07d87c5c6e
replace the str*() functions by speed optimized versions, submitted by
...
J.T. Conklin per PR port-amd64/25411
2004-07-19 20:04:41 +00:00
chs
c27bdd3547
added new files for context, LWP and siginfo support.
2004-07-18 22:41:23 +00:00
chs
1e1499c776
split __longjmp14() into a separate file and make it use setcontext()
...
instead of __sigreturn14(). translated from MIPS.
2004-07-18 22:38:33 +00:00
chs
61b506f0a2
add a siginfo signal trampoline and always use it.
2004-07-18 22:38:07 +00:00
chs
56371a56c7
add *context and LWP support for hppa. translated from MIPS.
2004-07-18 22:37:32 +00:00
chs
32c9e25b89
call abort() if longjmperror() returns.
2004-07-18 20:51:24 +00:00
chs
2f80fec241
replace these placeholders with real implementations.
...
translated from the mips version.
2004-07-18 20:48:04 +00:00
chs
c2f33bd76d
save and restore %t1 around calling __errno, it's a caller-saved register.
2004-07-18 20:44:05 +00:00
chs
7d976824e9
add a missing return instruction.
2004-07-18 20:30:04 +00:00
thorpej
2a63e04007
- Change the strong dlfcn names in libc to ___name, and make the __name
...
versions used by others in libc weak, so that we have:
name: weak
__name: weak
___name: strong
- Add __name strong aliases of the dlfcn names in ld.elf_so, so that we have:
name: strong
__name: strong
This allows ld.elf_so to self-resolve both the name and __name variants
of the dlfcn functions, the former being required for dlfcn support in
applications, the latter being required for dlfcn support in libc.
Fixes the problem described in:
http://mail-index.netbsd.org/tech-toolchain/2004/07/17/0000.html
Reviewed by Nick.
2004-07-18 17:26:19 +00:00
thorpej
b8b64b05f9
Use ANSI function decls.
2004-07-16 16:11:43 +00:00
skrll
7bdf35d6e3
Add a copyright message.
2004-07-15 19:58:00 +00:00
wiz
5102b97303
Bump date for previous.
2004-07-14 20:10:14 +00:00
kleink
ea50e13fa9
Add a STANDARDS section; noted by Peter Bex in PR standards/25957.
2004-07-14 19:12:26 +00:00
seb
ebe2c02564
Bump libc minor for wordexp(3) addition.
2004-07-13 15:45:18 +00:00
seb
2f8bbc118e
Add wordexp(3). The wordexp function performs shell-style word expansions.
...
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.
From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.
2004-07-13 15:42:03 +00:00
enami
c991543af7
Print 10450000 as 10M instead of 10.0M (more greater value such as
...
10500000 is printed as 10M).
2004-07-12 09:21:20 +00:00
enami
1b94ae7df7
No need to set divisor twice.
2004-07-12 09:14:07 +00:00
cube
2e61c89539
KERN_CP_TIME returns an arry of uint64_ts, not longs, as noted by Adam
...
Sampson in PR 23190. Also, tell about ``kern.cp_time.#CPU''.
2004-07-05 11:45:12 +00:00
mycroft
a10e4d1f3a
Cardbus -> CardBus
2004-07-03 17:36:51 +00:00
junyoung
74d67c3551
Add strcasestr(3), case insensitive version of strstr(3).
...
Bump libc minor.
From FreeBSD.
2004-07-03 08:27:25 +00:00
simonb
b52cdd0dd6
Copy the sparc/sparc64 __longjmp14() way of dealing with signal masks:
...
* Restore the signal mask with sigprocmask() instead of _UC_SIGMASK,
* since libpthread may want to interpose on signal handling.
Fixes regress/lib/libpthread/siglongjmp1.
2004-07-03 05:44:55 +00:00
simonb
b4f0be566a
Catch up with changes to __fpregset_t.
...
In __longjmp14(), copy the FP CSR from the correct array and array slot.
Completes fix for PR port-mips/25942.
2004-07-03 05:10:06 +00:00
heas
2cc74cfa3e
UDP checksums are always checked (RFC1122 S4.1.3.4), it is not controllable
...
by net.inet.udp.checksum.
2004-07-02 18:17:45 +00:00
christos
4b9f9bad8c
remove __UNCONST definition; it is now in <sys/cdefs.h>
2004-07-02 03:00:01 +00:00
sjg
3a0c68edfd
Add support for SHA1 hashed passwords.
...
The algorithm used is essentially PBKDF1 from RFC 2898 but using
hmac_sha1 rather than SHA1 directly (suggested by smb@research.att.com ).
* The format of the encrypted password is:
* $<tag>$<iterations>$<salt>$<digest>
*
* where:
* <tag> is "sha1"
* <iterations> is an unsigned int identifying how many rounds
* have been applied to <digest>. The number
* should vary slightly for each password to make
* it harder to generate a dictionary of
* pre-computed hashes. See crypt_sha1_iterations.
* <salt> up to 64 bytes of random data, 8 bytes is
* currently considered more than enough.
* <digest> the hashed password.
hmac.c implementes HMAC as defined in RFC 2104 and includes a unit
test for both hmac_sha1 and hmac_sha1 using a selection of the Known
Answer Tests from RFC 2202.
It is worth noting that to be FIPS compliant the hmac key (password)
should be 10-20 chars.
2004-07-02 00:05:23 +00:00
kleink
2d356478dd
Make the spelling of reentrant match the rest of the system.
2004-07-01 10:38:28 +00:00
skrll
aeb58ad6a0
Add a cerror.S and re-work various syscalls and SYS.h to use __cerror.
...
With help from the OpenBSD version of SYS.h.
2004-07-01 06:50:04 +00:00
wiz
a26de71379
Do not xref ourselves; grammar fixes.
2004-06-25 15:29:25 +00:00
wiz
da71bc8372
Sort sections.
2004-06-25 15:27:39 +00:00
atatat
eaa9fc4cc3
Reverse arguments to fcntl(2).
2004-06-22 13:49:43 +00:00
itojun
5e700978a6
fix missing license.
2004-06-21 21:20:05 +00:00
jmc
b2f782612f
Completely rework how tools/compat is done. Purge all uses/references to
...
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
thorpej
a6ae8a84ac
Slight hack to get this building on OS X again: Undo the renaming before
...
including the host's <pwd.h> to avoid renaming the host's versions of
these functions (which causes a prototype conflict). After <pwd.h> has
been included, then re-apply the renaming.
2004-06-18 20:34:58 +00:00
lha
cc333b3dd7
Add list of async-signal-safe functions
...
Approved by wiz
2004-06-13 19:17:06 +00:00
lha
bb3caff139
Expand a little bit on forks behavior in threaded programs
...
OK by nathanw and martin
2004-06-10 23:45:07 +00:00
kleink
79d01decfe
Update for use of uint{16,32}_t.
2004-06-10 11:37:35 +00:00
christos
4b05f4b58a
Jump through taller hoops to provide binary compatibility with programs
...
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one. We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.
2004-06-09 18:07:03 +00:00
he
552a47b805
Revert previous; mhitch has already committed a workaround to ../Makefile.inc.
2004-06-06 17:09:48 +00:00
he
4b896b2324
It appears necessary to add -I. to CPPFLAGS for nslexer.c. This is
...
most probably caused by gcc 2.95.3; will be documented in doc/HACKS.
Reviewed by ragge.
2004-06-06 13:26:01 +00:00
ginsbach
9fcbc1ee6b
Change remaining K&R style function definition to ANSI; Reviewd by <christos>.
2004-06-04 20:05:25 +00:00
mhitch
e1afa110dd
A -I. is needed by vax; had gotten removed from elsewhere.
2004-06-03 16:34:19 +00:00
christos
cd8fc4ae1f
delete duplicate namespace protection.
2004-06-02 20:54:58 +00:00
kleink
d355352b08
Don't refer to errno as "global integer variable".
2004-06-01 16:12:51 +00:00
kleink
7de493a895
libc.so.12.120: addition of closefrom(3)
2004-06-01 16:07:17 +00:00
kleink
e78a58d8d7
Sync section number with reality.
2004-06-01 16:06:43 +00:00
wiz
ce20e7ac30
Use "In" instead of "Fd #include <...>".
2004-06-01 10:57:48 +00:00
itojun
347bbb94d3
oops, i've committed BSD auth stuff by mistake.
2004-05-31 06:51:59 +00:00
itojun
9e40b59093
EBADF is returned when fd < 0, so change text to tell the truth
2004-05-31 05:32:27 +00:00
itojun
34f8d0e9df
closefrom(3)
2004-05-31 05:25:40 +00:00
itojun
56c1b44159
implement closefrom(3).
2004-05-31 05:06:51 +00:00
uwe
9da2eaca32
Provide _REENTRANT code. It's a wonder nobody has noticed this before.
...
Uncovered by multithreaded bind9 utils.
2004-05-28 23:39:09 +00:00
christos
388c103e83
PR/25003: John Kohl: File is missing a copyright.
2004-05-28 14:38:53 +00:00
wiz
508c6e7767
Uppercase Dt argument; \-1, not -1; sort SEE ALSO; & -> \*[Am].
2004-05-28 00:10:57 +00:00
wiz
714885bde5
Drop trailing whitespace.
2004-05-28 00:06:50 +00:00
kleink
8bd97363d6
Merge tzcode2004a.
2004-05-27 20:39:49 +00:00
kleink
0e5c1261b9
Update for tzcode2004a.
2004-05-27 20:33:31 +00:00
christos
04562cac02
add a simple lock in _yp_check(), to make it re-entrant.
2004-05-27 18:41:11 +00:00
christos
71fe243008
make yp stuff re-entrant.
2004-05-27 18:40:07 +00:00
christos
d321ccdba8
bump; posix pty functions.
2004-05-27 03:08:07 +00:00
christos
892ad9caae
unix/98 pty functions and manual pages.
2004-05-27 02:58:48 +00:00
petrov
b4f8e35755
Add current directory to inlcude pathes as it needed for generated assym.h.
2004-05-25 21:06:50 +00:00
christos
cbebf25ae4
remove stray NSUNLOCK(); pointed out by Brian Ginsbach.
2004-05-24 16:16:26 +00:00
lukem
b8580dfae9
Put the description of "options" in a new paragraph, for consistency
2004-05-24 05:52:52 +00:00
christos
3c2635eac1
Do all the _res initialization in __res_get_state()
2004-05-23 16:55:09 +00:00
christos
13cc3543b5
centralize res_*init() calls in __res_get_state()
2004-05-23 16:54:12 +00:00
christos
94564d94a6
make this thread-safe.
2004-05-23 16:53:22 +00:00
christos
ba991ec242
one more missing weak_alias
2004-05-23 05:09:52 +00:00
christos
162504ee9b
Provide access to the 8 symbols the bind8 resolver did, through weak aliases.
...
3 of them [res_send_*, and res_querydomain], were done incorrectly before...
2004-05-22 23:47:09 +00:00
christos
7168861fac
Provide access to _res in the non-threaded case, and abort in the threaded
...
case.
2004-05-22 15:44:26 +00:00
kleink
6b3fbf5d75
IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/5: fdatasync() shall
...
have cancellation points.
Note: we ride today's resolver-related version bumps.
2004-05-21 17:15:42 +00:00
christos
5ce4c264ed
disable weak aliases for now; the resolver header file adds __ to all the
...
names.
2004-05-21 16:03:05 +00:00
christos
729d8bb9ff
#ifdef protect __weak_alias
2004-05-21 16:02:40 +00:00
christos
6f3786f41c
namespace protection for resolver routines.
2004-05-21 15:35:05 +00:00
martin
09e989c0e2
ptrdiff_t may be != int, so printf it with %tu instead of %u.
2004-05-21 08:20:50 +00:00
itojun
30dd6e8b37
inet6_{option,rthdr}_space are still alive.
2004-05-21 04:51:00 +00:00
christos
d0631d4012
no support for printing dnssec key in libc
2004-05-21 04:24:53 +00:00
christos
d14c1915e0
Finish bind9 resolver merge.
2004-05-21 02:30:03 +00:00
christos
3fa54233f6
Add the remaining files from net that are going to be moved here and
...
the Makefile glue.
2004-05-20 23:13:02 +00:00
christos
df0952c6d2
- merge in our newer and better changes
...
- pass lint
- XXX: need to get rid of SPRINTF() macro
2004-05-20 23:12:33 +00:00
christos
39e7bb7142
import the parts of the bind9 lib/bind/inet directory directory that we
...
use.
2004-05-20 22:29:02 +00:00
christos
e878251743
Add headers that ISC software [bind9] needs to include
2004-05-20 22:26:22 +00:00
christos
fd00db407e
- de-lint
...
- add NetBSD rcsid.
2004-05-20 20:35:05 +00:00
christos
a8846ff30b
- make prototypes for 16 and 32 bit types make sense.
...
- fix lint issues
- add NetBSD rcsid
2004-05-20 20:19:00 +00:00
christos
56d79e72ce
add Makefile glue
2004-05-20 20:02:26 +00:00
christos
0c789e3239
import files needed from the nameser directory of bind9
2004-05-20 20:01:31 +00:00
christos
49a363f167
1. de-lint
...
2. NetBSD rcsid.
2004-05-20 19:52:31 +00:00
christos
3e5b2b5f54
makefile glue.
2004-05-20 19:52:14 +00:00
christos
8681712dac
de-lint
2004-05-20 19:51:55 +00:00
christos
89abd4929c
import isc specific header files.
2004-05-20 19:49:41 +00:00
christos
ca31adbdcc
netbsd rcsid.
2004-05-20 19:43:39 +00:00
christos
330989eefb
import isc specific functions from bind9.
2004-05-20 19:34:32 +00:00
christos
50d86ec259
more lint fixes.
2004-05-20 19:31:52 +00:00
christos
7899178585
provide __h_errno_set()
2004-05-20 19:31:40 +00:00
christos
fa406da826
Add glue files.
2004-05-20 18:00:55 +00:00
christos
1ad5eecb0b
- add casts to appease lint
...
- fix unreachable condition pointed out by lint.
2004-05-20 17:59:43 +00:00
christos
d2fb1f98f1
add casts to silence lint.
2004-05-20 17:43:31 +00:00
christos
f5b0f7df42
silence lint.
2004-05-20 17:42:30 +00:00