kopensolaris-gnu/glibc.git
14 years ago2006-01-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
roland [Tue, 21 Feb 2006 02:32:31 +0000 (02:32 +0000)]
2006-01-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>

[BZ #2178]
* sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
use _hurd_pid instead.

14 years ago.
roland [Tue, 21 Feb 2006 02:30:10 +0000 (02:30 +0000)]
.

14 years ago2006-02-15 Thomas Schwinge <tschwinge@gnu.org>
roland [Tue, 21 Feb 2006 02:28:29 +0000 (02:28 +0000)]
2006-02-15  Thomas Schwinge  <tschwinge@gnu.org>

[BZ #2329]
* include/unistd.h (__getresuid, __getresgid, __setresuid)
(__setresgid): Fix argument name order in prototypes.
* posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
Likewise.
* posix/getresuid.c (__getresuid): Fix argument order in definition.
* posix/getresgid.c (__getresgid): Likewise.
* posix/setresuid.c (__setresuid): Likewise.
* posix/setresgid.c (__setresgid): Likewise.
* sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
* sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
* sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
* sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.

14 years agoMoved to ports repository.
roland [Tue, 21 Feb 2006 02:12:02 +0000 (02:12 +0000)]
Moved to ports repository.

14 years ago2006-02-20 Roland McGrath <roland@redhat.com>
roland [Tue, 21 Feb 2006 02:11:44 +0000 (02:11 +0000)]
2006-02-20  Roland McGrath  <roland@redhat.com>

* sysdeps/mips: Directory removed, saved in ports repository.
* sysdeps/unix/mips: Likewise.
* sysdeps/unix/sysv/linux/mips: Likewise.
* sysdeps/mach/mips: Likewise.
* sysdeps/mach/hurd/mips: Likewise.
* shlib-versions: Remove mips matches, now in ports fragment.
* sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
* configure.in (machine): Likewise.
* configure: Regenerated.

14 years agoAmend log entry with omitted file.
roland [Tue, 21 Feb 2006 01:35:36 +0000 (01:35 +0000)]
Amend log entry with omitted file.

14 years ago * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
rth [Mon, 20 Feb 2006 22:51:47 +0000 (22:51 +0000)]
    * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
        to math subdir.
        * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
        (__ieee754_sqrtl): Add _round local variable.
        * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.

        * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.

14 years ago.
roland [Mon, 20 Feb 2006 22:12:40 +0000 (22:12 +0000)]
.

14 years ago2006-02-20 Roland McGrath <roland@frob.com>
roland [Mon, 20 Feb 2006 22:12:20 +0000 (22:12 +0000)]
2006-02-20  Roland McGrath  <roland@frob.com>

* hurd/hurd/xattr.h: New file.
* hurd/xattr.c: New file.
* hurd/Makefile (routines): Add it.
* sysdeps/mach/hurd/fgetxattr.c: New file.
* sysdeps/mach/hurd/flistxattr.c: New file.
* sysdeps/mach/hurd/fremovexattr.c: New file.
* sysdeps/mach/hurd/fsetxattr.c: New file.
* sysdeps/mach/hurd/getxattr.c: New file.
* sysdeps/mach/hurd/lgetxattr.c: New file.
* sysdeps/mach/hurd/listxattr.c: New file.
* sysdeps/mach/hurd/lsetxattr.c: New file.
* sysdeps/mach/hurd/removexattr.c: New file.
* sysdeps/mach/hurd/setxattr.c: New file.

14 years ago.
roland [Mon, 20 Feb 2006 21:48:49 +0000 (21:48 +0000)]
.

14 years ago2006-02-13 Mike Frysinger <vapier@gentoo.org>
roland [Mon, 20 Feb 2006 21:48:45 +0000 (21:48 +0000)]
2006-02-13  Mike Frysinger  <vapier@gentoo.org>

* string/tester.c (test_strnlen): New function.
(test_strchr): Call it.
(test_strncat): Test lengths where the sign bit is set.
(test_strncmp): Likewise.

14 years agotypo
roland [Mon, 20 Feb 2006 20:24:09 +0000 (20:24 +0000)]
typo

14 years ago.
drepper [Sat, 18 Feb 2006 08:41:57 +0000 (08:41 +0000)]
.

14 years agoAdd second mutex to check that the mutex list is handled correctly.
drepper [Sat, 18 Feb 2006 08:40:59 +0000 (08:40 +0000)]
Add second mutex to check that the mutex list is handled correctly.

14 years ago.
drepper [Fri, 17 Feb 2006 18:52:09 +0000 (18:52 +0000)]
.

14 years ago(atomic_and, atomic_or): Define.
drepper [Fri, 17 Feb 2006 18:50:09 +0000 (18:50 +0000)]
(atomic_and, atomic_or): Define.

14 years ago.
drepper [Fri, 17 Feb 2006 18:49:28 +0000 (18:49 +0000)]
.

14 years agoGeneric Linux __lll_robust_mutex_* code.
drepper [Fri, 17 Feb 2006 18:46:52 +0000 (18:46 +0000)]
Generic Linux __lll_robust_mutex_* code.

14 years ago(lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
drepper [Fri, 17 Feb 2006 18:44:32 +0000 (18:44 +0000)]
(lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
lll_robust_mutex_unlock): New macros.
(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.

14 years ago. fedora-glibc-20060217T1609
drepper [Fri, 17 Feb 2006 15:37:51 +0000 (15:37 +0000)]
.

14 years agoAdd lll_robust_mutex_* definitions.
drepper [Fri, 17 Feb 2006 15:36:57 +0000 (15:36 +0000)]
Add lll_robust_mutex_* definitions.

14 years ago__lll_robust_mutex_* functions for SH.
drepper [Fri, 17 Feb 2006 15:36:10 +0000 (15:36 +0000)]
__lll_robust_mutex_* functions for SH.

14 years ago.
drepper [Fri, 17 Feb 2006 08:07:21 +0000 (08:07 +0000)]
.

14 years ago(lll_robust_mutex_unlock): Avoid unnecessary wakeups.
drepper [Fri, 17 Feb 2006 08:06:14 +0000 (08:06 +0000)]
(lll_robust_mutex_unlock): Avoid unnecessary wakeups.

14 years ago(lll_robust_mutex_unlock): Avoid unnecessary wakeups.
drepper [Fri, 17 Feb 2006 08:05:32 +0000 (08:05 +0000)]
(lll_robust_mutex_unlock): Avoid unnecessary wakeups.

14 years agoCorrect MADV_DO{,NOT}FORK values.
drepper [Thu, 16 Feb 2006 00:15:08 +0000 (00:15 +0000)]
Correct MADV_DO{,NOT}FORK values.

14 years ago.
drepper [Wed, 15 Feb 2006 18:14:59 +0000 (18:14 +0000)]
.

14 years agoDefine MADV_DONTFORK and MADV_DOFORK.
drepper [Wed, 15 Feb 2006 18:12:03 +0000 (18:12 +0000)]
Define MADV_DONTFORK and MADV_DOFORK.

14 years ago.
drepper [Wed, 15 Feb 2006 17:20:33 +0000 (17:20 +0000)]
.

14 years ago(__openat_not_cancel, __openat64_not_cancel): Remove prototypes.
drepper [Wed, 15 Feb 2006 17:19:11 +0000 (17:19 +0000)]
(__openat_not_cancel, __openat64_not_cancel): Remove prototypes.
(__openat_nocancel, __openat64_nocancel): New prototypes or defines.
(openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
openat64_not_cancel_3): Use them.

14 years ago.
drepper [Wed, 15 Feb 2006 17:17:18 +0000 (17:17 +0000)]
.

14 years ago(__pthread_slist_t): New typedef.
drepper [Wed, 15 Feb 2006 17:15:48 +0000 (17:15 +0000)]
(__pthread_slist_t): New typedef.
(pthread_mutex_t): Replace __next field with __list.

14 years ago(__pthread_list_t): New typedef.
drepper [Wed, 15 Feb 2006 17:14:33 +0000 (17:14 +0000)]
(__pthread_list_t): New typedef.
(pthread_mutex_t): Replace __next and __prev fields with __list.

14 years ago(__pthread_list_t): New typedef.
drepper [Wed, 15 Feb 2006 17:13:30 +0000 (17:13 +0000)]
(__pthread_list_t): New typedef.
(pthread_mutex_t): Replace __next and __prev fields with __list.

14 years ago[!__PTHREAD_MUTEX_HAVE_PREV] (DEQUEUE_MUTEX): Set robust_list.__next
drepper [Wed, 15 Feb 2006 17:12:26 +0000 (17:12 +0000)]
[!__PTHREAD_MUTEX_HAVE_PREV] (DEQUEUE_MUTEX): Set robust_list.__next
rather than robust_list.

14 years ago.
drepper [Wed, 15 Feb 2006 17:09:20 +0000 (17:09 +0000)]
.

14 years agox86-64 implementation of __lll_robust_mutex_*lock functions.
drepper [Wed, 15 Feb 2006 17:07:13 +0000 (17:07 +0000)]
x86-64 implementation of __lll_robust_mutex_*lock functions.

14 years agoi686 implementation of __lll_robust_mutex_*lock functions.
drepper [Wed, 15 Feb 2006 17:06:16 +0000 (17:06 +0000)]
i686 implementation of __lll_robust_mutex_*lock functions.

14 years agoi586 implementation of __lll_robust_mutex_*lock functions.
drepper [Wed, 15 Feb 2006 17:05:07 +0000 (17:05 +0000)]
i586 implementation of __lll_robust_mutex_*lock functions.

14 years agoi486 implementation of __lll_robust_mutex_*lock functions.
drepper [Wed, 15 Feb 2006 17:04:29 +0000 (17:04 +0000)]
i486 implementation of __lll_robust_mutex_*lock functions.

14 years agoAdd lll_robust_mutex_* definitions.
drepper [Wed, 15 Feb 2006 17:02:13 +0000 (17:02 +0000)]
Add lll_robust_mutex_* definitions.

14 years agoDefine macros for new pthread_mutex_lock.c.
drepper [Wed, 15 Feb 2006 17:01:17 +0000 (17:01 +0000)]
Define macros for new pthread_mutex_lock.c.

14 years agoConstants for lowlevelrobustlock asm code.
drepper [Wed, 15 Feb 2006 16:59:54 +0000 (16:59 +0000)]
Constants for lowlevelrobustlock asm code.

14 years ago(gen-as-const-headers): Add lowlevelrobustlock.sym.
drepper [Wed, 15 Feb 2006 16:58:04 +0000 (16:58 +0000)]
(gen-as-const-headers): Add lowlevelrobustlock.sym.

14 years agoReimplement robust mutex handling.
drepper [Wed, 15 Feb 2006 16:56:21 +0000 (16:56 +0000)]
Reimplement robust mutex handling.

14 years agoAllow destroying of inconsistent mutexes.
drepper [Wed, 15 Feb 2006 16:55:10 +0000 (16:55 +0000)]
Allow destroying of inconsistent mutexes.

14 years agoInconsistent mutex have __owner now set to PTHREAD_MUTEX_INCONSISTENT.
drepper [Wed, 15 Feb 2006 16:54:05 +0000 (16:54 +0000)]
Inconsistent mutex have __owner now set to PTHREAD_MUTEX_INCONSISTENT.

14 years ago(start_thread): Very much simplify robust_list loop.
drepper [Wed, 15 Feb 2006 16:53:15 +0000 (16:53 +0000)]
(start_thread): Very much simplify robust_list loop.

14 years ago(libpthread-routines): Add lowlevelrobustlock.
drepper [Wed, 15 Feb 2006 16:52:28 +0000 (16:52 +0000)]
(libpthread-routines): Add lowlevelrobustlock.

14 years agoDefine PTHREAD_MUTEX_INCONSISTENT instead of PTHREAD_MUTEX_OWNERDEAD.
drepper [Wed, 15 Feb 2006 16:51:35 +0000 (16:51 +0000)]
Define PTHREAD_MUTEX_INCONSISTENT instead of PTHREAD_MUTEX_OWNERDEAD.
(PTHREAD_MUTEX_ROBUST_PRIVATE_NP): Define as 16, not 256.
Define FUTEX_WAITERS, FUTEX_OWNER_DIED, FUTEX_TID_MASK.

14 years ago. fedora-glibc-20060213T0650
drepper [Mon, 13 Feb 2006 01:27:41 +0000 (01:27 +0000)]
.

14 years agoDefine __pthread_list_t and __pthread_slist_t. Use them in
drepper [Mon, 13 Feb 2006 01:26:49 +0000 (01:26 +0000)]
Define __pthread_list_t and __pthread_slist_t.  Use them in
pthread_mutex_t.

14 years agoDefine __pthread_slist_t. Use it in pthread_mutex_t.
drepper [Mon, 13 Feb 2006 01:26:15 +0000 (01:26 +0000)]
Define __pthread_slist_t.  Use it in pthread_mutex_t.

14 years agoAdjust mutex initializers.
drepper [Mon, 13 Feb 2006 01:25:18 +0000 (01:25 +0000)]
Adjust mutex initializers.

14 years agoDon't allow unlocking from any thread but the owner for all robust
drepper [Mon, 13 Feb 2006 01:24:27 +0000 (01:24 +0000)]
Don't allow unlocking from any thread but the owner for all robust
mutex types.

14 years ago(start_thread): Adjust robust_list handling.
drepper [Mon, 13 Feb 2006 01:23:33 +0000 (01:23 +0000)]
(start_thread): Adjust robust_list handling.

14 years ago(__pthread_initialize_minimal_internal): Initialize robust_list.
drepper [Mon, 13 Feb 2006 01:22:36 +0000 (01:22 +0000)]
(__pthread_initialize_minimal_internal): Initialize robust_list.

14 years ago(struct xid_command): Pretty printing.
drepper [Mon, 13 Feb 2006 01:21:41 +0000 (01:21 +0000)]
(struct xid_command): Pretty printing.
(struct pthread): Use __pthread_list_t or __pthread_slist_t for
robust_list.  Adjust macros.

14 years ago(allocate_stack): Initialize robust_list.
drepper [Mon, 13 Feb 2006 01:20:39 +0000 (01:20 +0000)]
(allocate_stack): Initialize robust_list.

14 years ago.
drepper [Sun, 12 Feb 2006 23:46:26 +0000 (23:46 +0000)]
.

14 years ago.
drepper [Sun, 12 Feb 2006 21:41:44 +0000 (21:41 +0000)]
.

14 years agoStart using *at functions.
drepper [Sun, 12 Feb 2006 21:40:36 +0000 (21:40 +0000)]
Start using *at functions.

14 years agoDefine openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
drepper [Sun, 12 Feb 2006 21:39:25 +0000 (21:39 +0000)]
Define openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
and openat64_not_cancel_3.

14 years agoCreate separate _nocancel functions.
drepper [Sun, 12 Feb 2006 21:37:04 +0000 (21:37 +0000)]
Create separate _nocancel functions.

14 years agoAdd support for fstatat64 syscall.
drepper [Sun, 12 Feb 2006 21:36:22 +0000 (21:36 +0000)]
Add support for fstatat64 syscall.

14 years agoAdd __fxstatat64 alias.
drepper [Sun, 12 Feb 2006 21:35:21 +0000 (21:35 +0000)]
Add __fxstatat64 alias.

14 years agoAdd __fxstatat alias.
drepper [Sun, 12 Feb 2006 21:34:37 +0000 (21:34 +0000)]
Add __fxstatat alias.

14 years agoAdd __fxstatat alias.
drepper [Sun, 12 Feb 2006 21:32:59 +0000 (21:32 +0000)]
Add __fxstatat alias.
Add support for fstatat64 syscall.

14 years agoAdd __fxstatat alias.
drepper [Sun, 12 Feb 2006 21:32:08 +0000 (21:32 +0000)]
Add __fxstatat alias.
Add support for newfstatat syscall.

14 years agoAdd __fxstatat alias.
drepper [Sun, 12 Feb 2006 21:31:30 +0000 (21:31 +0000)]
Add __fxstatat alias.

14 years agoDeclare __fxstatat.
drepper [Sun, 12 Feb 2006 21:29:08 +0000 (21:29 +0000)]
Declare __fxstatat.

14 years agoAdd __fdopendir declaration.
drepper [Sun, 12 Feb 2006 21:28:31 +0000 (21:28 +0000)]
Add __fdopendir declaration.

14 years agoAdd __fdopendir alias.
drepper [Sun, 12 Feb 2006 21:27:56 +0000 (21:27 +0000)]
Add __fdopendir alias.

14 years ago(_IO_wsetb): Use correct size of wide char buffer in FREE_BUF call.
drepper [Sun, 12 Feb 2006 21:20:57 +0000 (21:20 +0000)]
(_IO_wsetb): Use correct size of wide char buffer in FREE_BUF call.

14 years ago.
drepper [Wed, 8 Feb 2006 18:25:19 +0000 (18:25 +0000)]
.

14 years agoDeclare unshare.
drepper [Wed, 8 Feb 2006 18:23:22 +0000 (18:23 +0000)]
Declare unshare.

14 years ago[libc, GLIBC_2.4]: Export unshare.
drepper [Wed, 8 Feb 2006 18:20:57 +0000 (18:20 +0000)]
[libc, GLIBC_2.4]: Export unshare.

14 years agoAdd unshare syscall.
drepper [Wed, 8 Feb 2006 18:19:47 +0000 (18:19 +0000)]
Add unshare syscall.

14 years ago($(objpfx)stub-syscalls.c): Add some preprocessor magic so that the
drepper [Wed, 8 Feb 2006 18:18:45 +0000 (18:18 +0000)]
($(objpfx)stub-syscalls.c): Add some preprocessor magic so that the
compiler won't see the prototypes for the functions we are defining as
stubs.

14 years ago.
drepper [Wed, 8 Feb 2006 15:33:47 +0000 (15:33 +0000)]
.

14 years ago(lll_futex_wait, lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.
drepper [Wed, 8 Feb 2006 15:32:25 +0000 (15:32 +0000)]
(lll_futex_wait, lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.

14 years ago(ftw_startup): Fallback on using getcwd.
drepper [Sun, 5 Feb 2006 23:25:20 +0000 (23:25 +0000)]
(ftw_startup): Fallback on using getcwd.

14 years ago.
drepper [Sun, 5 Feb 2006 21:19:53 +0000 (21:19 +0000)]
.

14 years ago(ftw_startup): Use fchdir to return to original directory for FTW_CHDIR.
drepper [Sun, 5 Feb 2006 21:16:48 +0000 (21:16 +0000)]
(ftw_startup): Use fchdir to return to original directory for FTW_CHDIR.

14 years ago. fedora-glibc-20060204T0758
drepper [Sat, 4 Feb 2006 07:14:42 +0000 (07:14 +0000)]
.

14 years agoFix make_message example.
drepper [Sat, 4 Feb 2006 07:12:54 +0000 (07:12 +0000)]
Fix make_message example.

14 years ago.
roland [Sat, 4 Feb 2006 00:48:40 +0000 (00:48 +0000)]
.

14 years ago2006-02-03 Roland McGrath <roland@redhat.com>
roland [Sat, 4 Feb 2006 00:47:58 +0000 (00:47 +0000)]
2006-02-03  Roland McGrath  <roland@redhat.com>

* structs.def: Add a descriptor for pointer.val field of dtv_t.
* td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
DTV slot.

14 years ago.
roland [Fri, 3 Feb 2006 22:28:47 +0000 (22:28 +0000)]
.

14 years ago2006-02-03 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 3 Feb 2006 22:28:37 +0000 (22:28 +0000)]
2006-02-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
volatile.

14 years ago2006-02-03 Roland McGrath <roland@redhat.com>
roland [Fri, 3 Feb 2006 22:28:31 +0000 (22:28 +0000)]
2006-02-03  Roland McGrath  <roland@redhat.com>

[BZ #2268]
* sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
timer interval, don't assume smallest possible interval is it.

14 years ago.
roland [Fri, 3 Feb 2006 19:16:04 +0000 (19:16 +0000)]
.

14 years ago2006-02-03 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 3 Feb 2006 19:15:53 +0000 (19:15 +0000)]
2006-02-03  Jakub Jelinek  <jakub@redhat.com>

* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].

14 years ago2006-02-03 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 3 Feb 2006 19:15:48 +0000 (19:15 +0000)]
2006-02-03  Jakub Jelinek  <jakub@redhat.com>

* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
prototype.
* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.

14 years ago. fedora-glibc-20060203T0932
drepper [Fri, 3 Feb 2006 05:28:06 +0000 (05:28 +0000)]
.

14 years agoDeclare __futimes.
drepper [Fri, 3 Feb 2006 05:27:02 +0000 (05:27 +0000)]
Declare __futimes.

14 years ago[__NR_futimesat] (futimesat): If file is NULL use __futimes.
drepper [Fri, 3 Feb 2006 05:26:34 +0000 (05:26 +0000)]
[__NR_futimesat] (futimesat): If file is NULL use __futimes.

14 years agotypo
roland [Thu, 2 Feb 2006 10:18:42 +0000 (10:18 +0000)]
typo

14 years ago.
roland [Thu, 2 Feb 2006 10:16:17 +0000 (10:16 +0000)]
.

14 years ago2006-02-02 Roland McGrath <roland@redhat.com>
roland [Thu, 2 Feb 2006 10:15:55 +0000 (10:15 +0000)]
2006-02-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
check for missing /proc the same way.