Commit Graph

10112 Commits

Author SHA1 Message Date
Ulrich Drepper 0585697658 Update.
2002-07-24  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
	on unknown systems.

2003-02-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
	if possible.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
	interprocedure branches.
	* sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
	* sysdeps/powerpc/nofpu/Dist: ...here.
	* sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
	* sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
	* sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
	* sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
2003-02-20 22:23:34 +00:00
Ulrich Drepper a592f998bb Update.
2003-02-18  Alan Modra  <amodra@bigpond.net.au>

	* sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
2003-02-20 20:30:02 +00:00
Ulrich Drepper 44ed664bfd Update.
2003-02-20  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
	missing arguments to INTERNAL_SYSCALL_ERROR_P and
	INTERNAL_SYSCALL_ERRNO.
2003-02-20 20:23:25 +00:00
Ulrich Drepper ffdcfcb0e4 Update.
2003-02-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
	for __ASSUME_32BITUIDS.
2003-02-20 20:13:36 +00:00
Ulrich Drepper c3293cba95 (__real_chown): Test for __ASSUME_32BITUIDS. 2003-02-20 20:05:26 +00:00
Andreas Schwab 4b2ed4190d * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
POSIX_MADV_* constants.
2003-02-20 13:23:38 +00:00
Andreas Schwab ccc081e1b6 Add MADV_* and POSIX_MADV_* constants. 2003-02-20 13:23:24 +00:00
Ulrich Drepper c5acd3d77e Update.
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
	beginning of the loop.  Clear the entire first block of TSD.
2003-02-20 10:18:12 +00:00
Ulrich Drepper 12fd3c5f66 Update.
* pthreadP.h: Define dummy version of DEBUGGING_P.
2003-02-20 10:10:59 +00:00
Ulrich Drepper df5803bf46 Update.
2003-02-20  Ulrich Drepper  <drepper@redhat.com>

	* pthread_create.c (deallocate_tsd): Clear the entire first block
	of TSD.
	* Makefile (tests): Add tst-key4.
	* tst-key4.c: New file.
2003-02-20 10:10:29 +00:00
Ulrich Drepper 01b2885290 Update.
2003-02-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/pread.c: New file.
	* sysdeps/unix/sysv/linux/sh/pread64.c: New file.
	* sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
	* sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.

	* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
2003-02-20 05:30:35 +00:00
Ulrich Drepper ed22820f2f UPdate.
2003-02-19  Ulrich Drepper  <drepper@redhat.com>

	* specific.c (pthread_key_delete_helper): Don't use GETMEM, we
	need the target thread's lock.
2003-02-20 00:00:32 +00:00
Ulrich Drepper a70e514b69 Update.
2003-02-19  Jiro Sekiba  <jir@yamato.ibm.com>

	* iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
2003-02-19 20:39:03 +00:00
Ulrich Drepper 5be072b6df (BODY): Fix range of low surrogate. 2003-02-19 20:36:21 +00:00
Roland McGrath ade6741188 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>. 2003-02-19 19:47:57 +00:00
Roland McGrath a9a4ef063f 2003-02-16 Roland McGrath <roland@redhat.com>
* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
2003-02-19 19:47:36 +00:00
Ulrich Drepper b5f7b11925 Update.
* stdlib/tst-strtod.c (main): Add test for strtof bug.
2003-02-19 09:06:14 +00:00
Ulrich Drepper 1c5247109d Update.
2003-02-19  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting of
	decimal input digits.
2003-02-19 08:45:03 +00:00
Ulrich Drepper 2f7dc59492 Update.
2003-02-18  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
	invalid file descriptors and missing access permissions.
2003-02-18 21:04:15 +00:00
Ulrich Drepper ba25bb0f1d Update.
* pthread_create.c (deallocate_tsd): Mark as internal_function.
	Add some more __builtin_expect.
2003-02-18 11:12:34 +00:00
Ulrich Drepper 729924a042 Update.
2003-02-18  Ulrich Drepper  <drepper@redhat.com>

	* pthreadP.h: Define dummy versio of DEBUGGING_P.
2003-02-18 10:59:20 +00:00
Ulrich Drepper 8bd3f1844a Update.
* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2003-02-18 08:16:47 +00:00
Ulrich Drepper b0db7fbeef Update.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove
	_POSIX_THREAD_PRIORITY_SCHEDULING.
	* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove
	_XOPEN_REALTIME_THREADS.
	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.

	* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The
	kernel returns EINVAL for PID <= 0, work around it.
2003-02-18 06:33:08 +00:00
Ulrich Drepper 2cfe49db25 Update.
* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 is no entry has
	been found.
2003-02-18 04:03:36 +00:00
Ulrich Drepper 46d7e2ba22 Update.
2003-02-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
	TTY_NAME_MAX and not the _POSIX_* minimal value macros.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
	and LOGIN_NAME_MAX.
2003-02-18 03:46:54 +00:00
Ulrich Drepper a5e34e047d Update.
2003-02-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
	and LOGIN_NAME_MAX.
2003-02-18 02:26:32 +00:00
Ulrich Drepper ecfda9bd44 Update.
* Makefile (tests): Add tst-signal5.
	* tst-signal5.c: New file.
2003-02-17 23:49:52 +00:00
Ulrich Drepper 7d78ab990f Update.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
	and LOGIN_NAME_MAX.
2003-02-17 22:57:19 +00:00
Ulrich Drepper b2740a3b0a Update.
2003-02-17  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
	    Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
	* sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2003-02-17 20:46:52 +00:00
Ulrich Drepper 81b5057288 Update.
2003-02-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.

	* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
	* sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.

	* sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
	* sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
	* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
2003-02-17 19:15:42 +00:00
Ulrich Drepper 371a297279 Update.
* tst-cancel1.c (tf): Block all signals.
2003-02-17 10:47:41 +00:00
Ulrich Drepper 5430d926c5 Update.
2003-02-17  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (tests): Add tst-basic6.
	* tst-basic6.c: New file.

	* tst-basic1.c: Add test for process ID.

	* Makefile (tests): Add tst-cancel10.
	* tst-cancel10.c: New file.

	* Makefile (tests): Add tst-signal4.
	* tst-signal4.c: New file.

	* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use
	__sigismember instead of sigismember.  Add __builtin_expect.
2003-02-17 10:22:52 +00:00
Ulrich Drepper 179ff175df Update.
* tst-attr1.c (do_test): Add tests for pthread_setcanceltype,
	pthread_setcancelstate, and pthread_rwlock_setpshared.
2003-02-17 06:44:07 +00:00
Ulrich Drepper e4335f9a23 Update.
* tst-cancel7.c (do_test): Make sure the pid file exists before
	canceling the thread.

	* libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid
2003-02-16 22:11:14 +00:00
Ulrich Drepper fdcd8f9c71 Update.
2003-02-14  Thorsten Kukuk  <kukuk@suse.de>

	* nss/getent.c (print_hosts): Print all IP addresses of one host.
2003-02-16 19:42:33 +00:00
Ulrich Drepper 0a37669aa5 Update.
* tst-rwlock6.c: More pthread_rwlock_timedwrlock and
	pthread_rwlock_timedrdlock tests.
	* tst-rwlock7.c: More pthread_rwlock_timedwrlock tests.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
	Check for invalid tv_nsec field.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
	Likewise.

	* pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect
	recursive mutex of overflow.

	* tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.
2003-02-16 10:57:38 +00:00
Ulrich Drepper 1564916ab9 Update.
2003-02-16  Ulrich Drepper  <drepper@redhat.com>

	* libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid
	going into an endless loop.
	* Makefile (tests): Add tst-cancel9.
	* tst-cancel9.c: New file.

	* pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.
2003-02-16 09:18:53 +00:00
Ulrich Drepper e9cb48ab58 (pthread_cancel): Use the result of __pthread_kill. 2003-02-16 08:52:22 +00:00
Roland McGrath b0104b6f8d * mach/errsystems.awk: Include <errno.h> in generated output. 2003-02-16 03:55:27 +00:00
Roland McGrath 8321ef15ae * sysdeps/mach/hurd/tls.h: New file.
* sysdeps/mach/hurd/i386/tls.h: New file.
2003-02-16 03:02:08 +00:00
Roland McGrath 7125d3cf1a * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
use target mach-before-compile instead of generated.
	(mach-before-compile): New target.
	* Makerules: Disable use of tls.make if $(generating) is set.
	* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
	* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
	mach-shortcuts.h so mach/ generation happens before hurd/.
2003-02-15 22:59:38 +00:00
Roland McGrath c06b8d60f4 2003-02-15 Roland McGrath <roland@frob.com>
* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
	use target mach-before-compile instead of generated.
	(mach-before-compile): New target.
	* Makerules: Disable use of tls.make if $(generating) is set.
	* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
	* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
	mach-shortcuts.h so mach/ generation happens before hurd/.
2003-02-15 22:59:19 +00:00
Ulrich Drepper 3a8e69f22b To-Do list for testing. 2003-02-15 22:50:01 +00:00
Ulrich Drepper 1c82b97f96 Update.
* tst-mutex5.c (do_test): Add more timedlock tests.
2003-02-15 22:32:50 +00:00
Ulrich Drepper b2f0546574 Update.
* tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes.
2003-02-15 20:54:25 +00:00
Ulrich Drepper c3bb9ee1bc Update.
* tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes.
2003-02-15 10:32:02 +00:00
Ulrich Drepper e798b60fe4 Update.
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't
	use INLINE_SYSCALL.  Error number is returned, not -1.
2003-02-15 10:11:42 +00:00
Ulrich Drepper 90491dc4bf Update.
* pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb,
	and __deallocate_stack with internal_function.
	* pthread_create.c: Adjust definitions appropriately.
	* allocatestack.c: Likewise.

	* pthread_join.c: Add one more __builtin_expect.
	* pthread_timedjoin.c: Likewise.

	* pthread_getspecific.c (__pthread_getspecific): Clear data->data
	not data of sequence number does not match.
	Add one __builtin_expect.
2003-02-15 09:49:02 +00:00
Ulrich Drepper c6247c9d7d Update.
* Makefile (tests): Add tst-clock1.
	* tst-clock1.c: New file.
2003-02-15 08:34:58 +00:00
Ulrich Drepper b270b54840 Update.
2003-02-15  Ulrich Drepper  <drepper@redhat.com>

	* pthread_setconcurrency.c (pthread_setconcurrency): Fail for
	negative arguments.
	* Makefile (tests): Add tst-basic5.
	* tst-basic5.c: New file.

	after thread is done.  If then zero, call exit(0).
2003-02-15 08:21:36 +00:00