Commit Graph

11466 Commits

Author SHA1 Message Date
Ulrich Drepper 7c8a67320e * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
newer linker scripts.
2009-01-31 00:21:15 +00:00
Ulrich Drepper 431497800d [BZ #7040]
2009-01-30  Ulrich Drepper  <drepper@redhat.com>
	[BZ #7040]
	* sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
	inotify_rm_watch should have type int.
2009-01-30 20:45:59 +00:00
Ulrich Drepper bd4ace0b90 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
Make aligned_restore_vmx a local symbol.
	* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
	Likewise.
2009-01-30 20:35:58 +00:00
Andreas Jaeger 430902daac Update
2009-01-30  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define.
	* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.
2009-01-30 20:34:24 +00:00
Ulrich Drepper b7219e53bc [BZ #9726]
2009-01-11  Ryan S. Arnold  <rsa@us.ibm.com>
	[BZ #9726]
	* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR,
	_SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes.

2009-01-08  Ryan S. Arnold  <rsa@us.ibm.com>

	[BZ #9726]
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
	(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
	(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
2009-01-30 20:30:46 +00:00
Ulrich Drepper a3bd28468c * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use
memcpy instead of memcmp.
	(_dl_setup_pointer_guard): Likewise.
2009-01-30 20:23:23 +00:00
Ulrich Drepper 1fdd89a78d * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting
manipulated brk, use malloc_printerr.
	* misc/sbrk.c (__sbrk): Better error handling for nonsense
	requests.
2009-01-30 17:47:23 +00:00
Ulrich Drepper 8585cb7454 * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,
rindex): For C++ add inlines so that they can be recognized as
	builtins.
	* string/strings.h: Define correct C++ prototypes for gcc 4.4.
2009-01-30 16:47:57 +00:00
Ulrich Drepper cdf77dd87b * string/string.h: Define correct C++ prototypes for gcc 4.4.
* wcsmbs/wchar.h: Likewise.
2009-01-29 18:38:10 +00:00
Ulrich Drepper d8387c7b7b Jakub Jelinek <jakub@redhat.com>
* string.h: Define correct C++ prototypes for gcc 4.4.
	* wchar.h: Likewise.

2009-01-29  Ulrich Drepper  <drepper@redhat.com>
2009-01-29 18:36:39 +00:00
Ulrich Drepper 647925b260 * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.
(stackinfo_sub_sp): Define.
2009-01-29 15:36:26 +00:00
Ulrich Drepper fd537e535f [BZ #9750]
* nscd/mem.c (gc): Use alloca_count to get the real stack usage.
	* include/alloca.h (alloca_account): Define.
	* sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define.
	(stackinfo_sub_sp): Define.
2009-01-29 00:17:57 +00:00
Ulrich Drepper 31d322a214 * nscd/connections.c (nscd_init): If database file access be
opened check whether this is due to permission problems and bail
	in that case.
2009-01-28 21:00:13 +00:00
Ulrich Drepper 5627534a81 [BZ #9741]
2009-01-28  Ulrich Drepper  <drepper@redhat.com>
	[BZ #9741]
	* nscd/mem.c (gc): Fix assignment of he_data in case malloc is used.
	Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.
2009-01-28 20:04:49 +00:00
Ulrich Drepper a7bd183ffe * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):
Add "t" to clobber list.
	(INTERNAL_SYSCALL_NCS): Likewise.
2009-01-28 16:11:36 +00:00
Ulrich Drepper 1dd757696b * nss/getent.c (print_networks): Don't print comma between aliases. 2009-01-28 15:55:25 +00:00
Ulrich Drepper 25e8417764 ..
2009-01-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning.

	* misc/hsearch_r.c (hcreate_r): We need at least three elements in
	the hash table.
	* misc/Makefile (tests): Add bug-hsearch1.
	* misc/bug-hsearch1.c: New file.
2009-01-23 20:41:36 +00:00
Roland McGrath 0699a0ca6a * Makeconfig (%.v.i): Strip trailing # comments,
not only whole-line comments.
2009-01-22 20:38:19 +00:00
Andreas Schwab f00d47a36f Remove conflict marker.
Properly handle partial reads.
	    Ulrich Drepper  <drepper@redhat.com>
	Reported by Peter Festner <peter.festner@ewetel.net>.
	    Tomas Janousek  <tjanouse@redhat.com>
	    Ulrich Drepper  <drepper@redhat.com>
2009-01-21 23:14:12 +00:00
Ulrich Drepper 965cb60a21 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take
one parameter.  If non-NULL use it to initialize return value.
	(_dl_setup_pointer_guard): New function.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
	* sysdeps/generic/ldsodefs.h: Declare _dl_random.
	* elf/rtld.c (security_init): Pass _dl_random to
	_dl_setup_stack_chk_guard.  Call _dl_setup_pointer_guard to initialize
	pointer_chk_guard.
	* elf/dl-sysdep.c (_dl_random): New variable.
	(_dl_sysdep_start): Handle AT_RANDOM.
	(_dl_show_auxv): Likewise.
	* elf/dl-support.c (_dl_random): New variable.
	(_dl_aux_init): Handle AT_RANDOM.
	* csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random
	to _dl_setup_stack_chk_guard.

	* elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
2009-01-11 04:44:06 +00:00
Roland McGrath 8be96dd183 * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.
>>>>>>> 1.11443
2009-01-11 04:32:12 +00:00
Ulrich Drepper 9b1c750e81 * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. 2009-01-09 08:38:54 +00:00
Ulrich Drepper 157cd5ac8d [BZ #9706]
2009-01-08  Ulrich Drepper  <drepper@redhat.com>
	[BZ #9706]
	* nss/nss_files/files-parse.c (strtou32): New function.
	(INT_FIELD): Use strotu32 instead of strtoul to unify behavior
	across 32-bit and 64-bit platforms.
	(INT_FIELD_MAYBE_NULL): Likewise.
2009-01-09 04:38:10 +00:00
Ulrich Drepper 16c124f7c0 [BZ #697]
[BZ #9697]
2009-01-08 15:29:49 +00:00
Jakub Jelinek 960af8c249 [BZ #9720]
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid 
comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. 
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): 
Likewise.
2009-01-08  Jakub Jelinek  <jakub@redhat.com>

	[BZ #9720]
	* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid
	comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
	* sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who):
	Likewise.
2009-01-08 10:16:12 +00:00
Ulrich Drepper 76c7f2cd8a [BZ 697]
* posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
	being NULL also if there are no backreferences.
	* posix/rxspencer/tests: Add testcases.
2009-01-08 00:47:30 +00:00
Ulrich Drepper bdb56bacd5 [BZ 9697]
* posix/bug-regex17.c: Add testcases.
	* posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
	handling.
2009-01-08 00:42:51 +00:00
Ulrich Drepper 0480c90173 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.
* sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file.
	* sysdeps/unix/sysv/linux/s390/init-first.c: New file.
	* sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso
	for elf subdir.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL,
	INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK,
	INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and
	HAVE_CLOCK_GETTIME_VSYSCALL: Define.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/Versions: New file.
2009-01-08 00:28:23 +00:00
Ulrich Drepper b3918c7d7f * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
* posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
	re_string_skip_chars, re_string_reconstruct): Likewise.
	* posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define.
2009-01-08 00:23:09 +00:00
Ulrich Drepper df9293cb16 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and
adjust the buffer alignment.
2009-01-08 00:03:29 +00:00
Roland McGrath c90c1e1c99 * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:
Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h
	net/route.h.

	* hurd/report-wait.c (describe_number): Use __stpcpy to prepend
	flavor to description only when flavor is not NULL.

	* hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock
	mutex after SIGIO/SIGURG lookup loop.
2009-01-07 01:59:43 +00:00
Roland McGrath 5aff6fdfb7 * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. 2009-01-03 21:04:07 +00:00
Ulrich Drepper b2bcd249bf * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument
handling.
2009-01-03 20:36:44 +00:00
Ulrich Drepper ebb2788e97 * sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
2009-01-03 01:52:29 +00:00
Ulrich Drepper 720981169b * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object
if no output is written.
2009-01-02 19:28:55 +00:00
Ulrich Drepper 623d0bf504 * version.h: Bump to 2.10 development. 2009-01-02 19:22:24 +00:00
Ulrich Drepper d36ad87147 * posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
	* iconv/iconvconfig.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* elf/ldconfig.c: Likewise.
	* catgets/gencat.c: Likewise.
	* csu/version.c: Likewise.
	* elf/ldd.bash.in: Likewise.
	* elf/sprof.c (print_version): Likewise.
	* locale/programs/locale.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* nscd/nscd.c (print_version): Likewise.
	* debug/xtrace.sh: Likewise.
	* malloc/memusage.sh: Likewise.
	* malloc/mtrace.pl: Likewise.
	* debug/catchsegv.sh: Likewise.
2009-01-02 08:47:18 +00:00
Ulrich Drepper 25df09ab4d * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk
script.
2008-12-30 02:18:00 +00:00
Ulrich Drepper bfbbc63f04 * sysdeps/posix/getaddrinfo.c (gaih_inet): When the
gethostbyname4_r function call succeeded, just leave the loop.
2008-12-29 23:47:07 +00:00
Ulrich Drepper 5703f47273 * wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
* wctype/Makefile (tests): Add bug-wctypeh.
	* wctype/bug-wctypeh.c: New file.
2008-12-29 23:21:21 +00:00
Ulrich Drepper 0f2ae55cf7 [BZ #9694]
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the
	very end.
2008-12-29 23:01:38 +00:00
Ulrich Drepper 50e481ceeb * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
LOCALDOMAIN is defined.
	* nscd/nscd_getai.c (__nscd_getai): Likewise.
2008-12-29 20:56:13 +00:00
Ulrich Drepper 217d45cd35 * sysdeps/x86_64/bits/select.h: New file. 2008-12-29 20:16:11 +00:00
Ulrich Drepper 16b7dc27a9 * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. 2008-12-29 19:53:48 +00:00
Ulrich Drepper bf93cd3b8d [BZ #9677]
2008-12-21  Bruno Haible  <bruno@clisp.org>
	[BZ #9677]
	* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object
	if no output is written.
2008-12-26 19:02:29 +00:00
Ulrich Drepper 49159e12de * login/utmp_file.c (pututline_file): Replace call to dup2 with
libc internal symbol __dup2 to avoid access through the PLT.
2008-12-23 16:50:07 +00:00
Ulrich Drepper 135460f45c [BZ #6545]
* sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make
	available only for __USE_GNU.
2008-12-09 23:25:02 +00:00
Ulrich Drepper 71053765e0 [BZ #7058] 2008-12-09 22:58:58 +00:00
Ulrich Drepper ed0da35226 * inet/Makefile (tests): Add tst-getni2.
* inet/tst-getni2.c: New file.
2008-12-09 22:47:54 +00:00
Ulrich Drepper d4f0720b20 [BZ #7080]
2008-12-08  Ulrich Drepper  <drepper@redhat.com>
	[BZ #7080]
	* inet/getnameinfo.c (getnameinfo): Check for output buffers being
	NULL when NI_NAMEREQD is set.
	Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
	* inet/Makefile (tests): Add tst-getni1.
	* inet/tst-getni1.c: New file.
2008-12-09 10:02:20 +00:00