Commit Graph

5995 Commits

Author SHA1 Message Date
ginsbach ca4f974ad7 Use ANSI function decls. 2004-08-05 03:06:37 +00:00
yamt 91ee88d04d actually add _Exit. 2004-08-05 00:17:02 +00:00
ginsbach 9af61ddeaf Fix getrpcbyname() alias lookups. Closes PR lib/23294; reviewed by <christos>. 2004-08-02 18:59:09 +00:00
tshiozak f7d656a488 revert the last all changes related to iconv(3). 2004-08-02 13:38:21 +00:00
thorpej a2bbd45143 Prevent a deadlock that could occur if we try to update the configuration
data structures during a recursive call to nsdispatch() by keeping a record
of which threads are inside nsdispatch() at any given time.
2004-08-02 00:19:34 +00:00
wiz 50779db1e3 Bump date for previous. 2004-08-01 19:24:47 +00:00
tshiozak 2edebf3ee0 sync with the current iconv() prototype. 2004-08-01 17:07:15 +00:00
tshiozak ab8d4be7c6 make sure that the iconv(3) follows the POSIX specification;
change the 2nd argument from "const char ** restrict" to "char ** restrict".
2004-08-01 16:40:58 +00:00
lukem 934fa4ac14 support MAKEVERBOSE in tags: 2004-07-31 14:13:05 +00:00
wiz e9abe80526 Use \*[Lt]\*[Gt] or Aq instead of <>; sort SEE ALSO. 2004-07-27 14:35:56 +00:00
enami 0520e17087 - Honor the HN_NOSPACE flag (i.e., don't put a space if specified,
and put space if not specified).
- There was a test which didn't count the suffixlen.  Fix it.
- Make the code a bit easier to read.
2004-07-27 01:56:24 +00:00
drochner 0ca4ad479d fix alignment check for source
should fix PR port-amd64/26416 by Nicolas Joly
2004-07-26 18:51:21 +00:00
chs 95a63d48f2 add missing FP functions, from openbsd. 2004-07-24 19:09:29 +00:00
thorpej 43d6d8d887 Add support for dynamically loading nsswitch modules on ELF platforms.
Adapted from FreeBSD.  Maintains full backward API / ABI compatbility
with built-in-only nsdispatch().

While here, also make nsdispatch() itself thread-safe.
2004-07-24 18:42:51 +00:00
tshiozak 09e09c2c2c make sure CITRUS=no to work. 2004-07-21 20:27:46 +00:00
tshiozak f1849eeaba - add support for "/force" symbol on locale.alias.
- a bit clean-up.
2004-07-21 18:51:30 +00:00
tshiozak 7b7f96b642 add prototype for load_locale_sub(). 2004-07-21 17:49:49 +00:00
tshiozak 335bc6323f add support for locale.alias file. 2004-07-21 14:18:16 +00:00
tshiozak 8ad8061809 use _citrus_lookup_alias() instead of __unalias(). 2004-07-21 14:17:22 +00:00
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