Commit Graph

12576 Commits

Author SHA1 Message Date
Roland McGrath
2a254592d0 * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
to `dtv_t *'.
2004-09-03 20:49:05 +00:00
Roland McGrath
b80f5da01c 2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
	to `dtv_t *'.
2004-09-03 20:49:00 +00:00
Ulrich Drepper
ead07d01fa Update.
2004-09-03  Ulrich Drepper  <drepper@redhat.com>

	* nscd/nscd.c (parse_opt): Use writev instead of two write for
	invalidate command.
2004-09-03 08:15:41 +00:00
Ulrich Drepper
1da484d94a Update.
2004-09-02  Ulrich Drepper  <drepper@redhat.com>

	* nscd/connections.c (nscd_run): Check early for invalid request types.
2004-09-03 03:41:30 +00:00
Ulrich Drepper
3c82c131d9 (nscd_run): Check early for invalid request types. 2004-09-03 03:39:45 +00:00
Roland McGrath
91b52f4838 Add backslashes missing in last change. 2004-09-03 00:28:13 +00:00
Roland McGrath
58c64754d2 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
	(THREAD_SELF): New macro.
2004-09-02 23:58:45 +00:00
Roland McGrath
0544677016 2004-09-02 Roland McGrath <roland@redhat.com>
* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
	(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
	(THREAD_SELF): New macro.
2004-09-02 23:58:23 +00:00
Ulrich Drepper
f76c849910 Update.
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
	* sysdeps/i386/jmpbuf-unwind.h: Likewise
	* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
	* sysdeps/s390/jmpbuf-unwind.h: Likewise.
	* sysdeps/sh/jmpbuf-unwind.h: Likewise.
	* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
	* sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
	* unwind.c: Use it.
2004-09-02 22:47:23 +00:00
Ulrich Drepper
73f7c32c47 [BZ #357]
Update.
2004-09-02  Steven Munroe  <sjmunroe@us.ibm.com>

	[BZ #357]
	* stdlib/tst-setcontext.c (test_stack): Added test for stack clobber.
	(main): Call test_stack.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
	(__getcontext): Push stack frame then save parms in local frame.
	Improve instruction scheduling.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
	(__swapcontext): Likewise.
2004-09-02 18:59:24 +00:00
Ulrich Drepper
86aca5ac58 Update.
2004-09-01  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use
	__builtin_offsetof.
2004-09-02 03:40:32 +00:00
Ulrich Drepper
aae95a1b6a [BZ #361]
Update.
2004-09-01  Jakub Jelinek  <jakub@redhat.com>

	[BZ #361]
	* posix/fnmatch_loop.c (FCT): For backslash between brackets, branch
	to normal_bracket after fetching the next character.
	* posix/tst-fnmatch.input: Add 25 new tests.
	Reported by Markus Oberhumer <markus@oberhumer.com>.
2004-09-02 03:38:10 +00:00
Ulrich Drepper
495639394b Update.
2004-09-01  Ulrich Drepper  <drepper@redhat.com>

	* elf/rtld.c (dl_main): First check existence of ld.so.preload
	with access.
2004-09-02 02:53:00 +00:00
Ulrich Drepper
761490a1d7 (dl_main): First check existence of ld.so.preload with access. 2004-09-02 02:52:26 +00:00
Roland McGrath
6698501fda * sysdeps/unix/sysv/linux/bits/waitflags.h
(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
	New macro.
	* sysdeps/unix/sysv/linux/waitid.c: New file.  Use new syscall when
	available, or fall back to the waitpid-based generic code.
2004-09-01 19:39:17 +00:00
Roland McGrath
66cc59de5b * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc
clobber the `ebp' register.
	* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
	Reverts change from 2004-05-07 by Jeroen Dekkers.

	* sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
	NEWSP from `void *' to `int *'.  Changed all casts accordingly.
2004-09-01 02:00:03 +00:00
Roland McGrath
c4bb5cd804 * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden
before return type.
	* locale/localename.c (__current_locale_name): Likewise.
2004-09-01 00:50:33 +00:00
Roland McGrath
d2e75f652a * scripts/extract-abilist.awk: If `lastversion' variable defined, omit
later sets from output.
	* Makerules (check-abi): Pass option to set that with value of
	LIB-abi-frozen variable if one is set.

	* abilist/libcidn.abilist: New file (empty).
2004-08-31 06:17:48 +00:00
Roland McGrath
c743bd58eb 2004-08-30 Roland McGrath <roland@frob.com>
* abilist/libcidn.abilist: New file (empty).
2004-08-31 06:17:08 +00:00
Ulrich Drepper
409f749345 Update.
2004-08-30  Jakub Jelinek  <jakub@redhat.com>

	* posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
	not __USE_XOPEN2K, use the Unix98 mandated values.
2004-08-30 16:56:03 +00:00
Ulrich Drepper
6442d5d71b Include bits/wordsize.h. Make the header match i386 header when __WORDSIZE != 64. 2004-08-30 16:51:12 +00:00
Roland McGrath
619f944833 * configure.in (usetls): Default to yes.
* configure: Regenerated.
2004-08-27 19:41:25 +00:00
Roland McGrath
c80e931a05 * configure.in (add_ons_automatic): New variable, set to yes or no
indicating --enable-add-ons with no explicit list.
	(running add-on fragments): Allow a fragment to modify $libc_add_on
	and have that affect its place in the list of add-ons to use.
	* configure: Regenerated.
2004-08-26 21:26:59 +00:00
Roland McGrath
c312980a4a 2004-08-26 Roland McGrath <roland@redhat.com>
* configure.in: New file.  If nptl add-on is also selected, barf if
	explicit and elide ourselves if implicit.
	* configure: Now generated.
2004-08-26 21:26:06 +00:00
Ulrich Drepper
a95a08b4af Update.
2004-08-26  Ulrich Drepper  <drepper@redhat.com>

	* nscd/cache.c: Major rewrite.  The data is now optionally kept in
	a mmaped memory region which is automatically mirrored on disk.
	This implements persistent data storage.  The Memory handled
	needed to be completely revamped, it now uses a garbage collection
	mechanism instead of malloc.
	* nscd/connections.c: Likewise.
	* nscd/nscd.c: Likewise.
	* nscd/nscd.h: Likewise.
	* nscd/nscd_conf.c: Likewise.
	* nscd/nscd_stat.c: Likewise.
	* nscd/grpcache.c: Likewise.
	* nscd/hstcache.c:: Likewise.
	* nscd/pwdcache.c:: Likewise.
	* nscd/Makefile: Add rules to build mem.c.
	* nscd/mem.c: New file.
	* nscd/nscd.conf: Describe new configuration options.
2004-08-26 18:35:05 +00:00
Ulrich Drepper
1114ffff54 Update.
2004-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
	NO_SGIDEFS_H isn't defined.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.

	* sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
	_MIPS_SIM.
	* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.

	* nscd/connections.c (nscd_run): atomic_increment was not missing.
2004-08-26 17:00:16 +00:00
Ulrich Drepper
86b2fd6e65 Update.
2004-08-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
	Patch by Greg Schafer.
2004-08-26 09:16:12 +00:00
Ulrich Drepper
87329997fe * nscd/grpcache.c (cache_addgr): Use copy of original key in hash 2004-08-25 23:33:21 +00:00
Ulrich Drepper
afb24a1083 Update.
* sysdeps/powerpc/powerpc64/bits/atomic.h
	(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval
	is negative.
	(__arch_compare_and_exchange_bool_32_rel): Likewise.
2004-08-25 23:27:17 +00:00
Ulrich Drepper
8e64f8ba4e (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch_compare_and_exchange_bool_32_rel): Likewise. 2004-08-25 23:24:20 +00:00
Richard Henderson
effeb660b7 * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind instead of $31. Zero $15. * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
	instead of $31.  Zero $15.
	* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25 19:59:01 +00:00
Ulrich Drepper
d6db09753a Update.
2004-08-25  Ulrich Drepper  <drepper@redhat.com>

	* nscd/connections.c: Make socket nonblocking so that threads
	don't get stuck on accept.  Fix locking.

	* nscd/grpcache.c (cache_addgr): Use cope of original key in hash
	entry with alternative key.
	* nscd/pwdcache.c (cache_addpw): Likewise.
2004-08-25 17:24:52 +00:00
Ulrich Drepper
801ddb6a03 (cache_addpw): Use cope of original key in hash entry with alternative key. 2004-08-25 17:18:43 +00:00
Andreas Jaeger
25325c8541 * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set
__libc_stack_end.
2004-08-25 05:57:46 +00:00
Andreas Jaeger
ec450c4b3f (CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt.
2004-08-25  Richard Sandiford  <rsandifo@redhat.com>

	* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (CENABLE, CDISABLE,
	__local_multiple_threads): Fix definitions for IS_IN_librt.
	* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2004-08-25 05:55:35 +00:00
Ulrich Drepper
80af9a4832 Update.
2004-08-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/gnu/netinet/udp.h: Cosmetic changes.  Remove unnecessary
	__BEGIN_DECLS/__END_DECLS.
2004-08-23 09:14:00 +00:00
Ulrich Drepper
5fa704c037 Cosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS. 2004-08-23 09:07:06 +00:00
Andreas Jaeger
a5590b3a5d [BZ #341]
Fix for
[BZ #341].
2004-08-23  Andreas Jaeger  <aj@suse.de>

	[BZ #341]
	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define.
	* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.
2004-08-23 07:29:06 +00:00
Andreas Jaeger
c18f7e37a0 [BZ #341] (O_NOATIME): Define. 2004-08-23 07:28:46 +00:00
Ulrich Drepper
ef786da12d Update.
2004-08-22  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO) [IS_IN_librt]:
	Save gp around CENABLE/CDISABLE calls.
2004-08-23 03:32:17 +00:00
Ulrich Drepper
3e030bd5f9 Update.
* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
	(check_action): Likewise.
	When printing error messages, use malloc_printf_nc now instead of
	fiddling with the streams cancellation flag in every place.
	* malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition.  Change
	default to 3.
	(check_action): New variable.
	(unlink): Print error message and eventually terminate in case list
	is corrupted.
	(malloc_printf_nc): New function.  Use it in _int_free.
	Change proposed by Arjan van de Ven.
2004-08-21 20:19:54 +00:00
Ulrich Drepper
51ea6fc094 Update.
2004-08-21  Ulrich Drepper  <drepper@redhat.com>

	* dlfcn/Makefile: Don't build eval.c anymore.

	pointer in new variable ORIG_NAME and use this pointer when
2004-08-21 09:28:31 +00:00
Ulrich Drepper
8f8452b75a Don't build eval.c anymore. 2004-08-21 09:25:46 +00:00
Roland McGrath
f523496bed * csu/Makefile ($(objpfx)version-info.h): Use printf in place
of echo -e for POSIX.2 portability.
	Reported by Paul Jarc <prj@po.cwru.edu>.

	* setjmp/Makefile (tests): Add bug269-setjmp.
2004-08-20 20:12:50 +00:00
Roland McGrath
e7f4d2bf43 2004-08-20 Roland McGrath <roland@frob.com>
* csu/Makefile ($(objpfx)version-info.h): Use printf in place
	of echo -e for POSIX.2 portability.
	Reported by Paul Jarc <prj@po.cwru.edu>.
2004-08-20 20:12:43 +00:00
Ulrich Drepper
a24c5ac462 Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
	list generation.
2004-08-19 22:56:27 +00:00
Ulrich Drepper
afd7b70333 Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
	getcanonname_r function if AI_CANONNAME flag is not set in
	request.
2004-08-19 21:39:39 +00:00
Ulrich Drepper
8583671dd4 Update.
2004-08-19  Ulrich Drepper  <drepper@redhat.com>

	* nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
	Initialize mysize with limits only if latter is >= 0.  Use mysize
	in malloc call.
2004-08-19 21:03:12 +00:00
Ulrich Drepper
10b71c3d31 Update.
2004-08-19  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
	to avoid warning.

	* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
	status to NSS_STATUS_UNAVAIL.

2004-08-19  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
	cannoname lookup since it has the FQDN even if the original NAME
	value has not.
2004-08-19 18:56:52 +00:00
Ulrich Drepper
b6c0f679b1 Update.
2004-08-18  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
	pointer in new variable ORIG_NAME and se this pointer when
	determination of canonical name failed, not the possibly IDN
	translated value of NAME.
2004-08-18 08:22:52 +00:00