kopensolaris-gnu/glibc.git
13 years ago[subdir=nptl] (gen-as-const-headers): Add structsem.sym.
drepper [Sat, 26 May 2007 01:30:30 +0000 (01:30 +0000)]
[subdir=nptl] (gen-as-const-headers): Add structsem.sym.

13 years ago(tests): Add tst-sem10, tst-sem11, tst-sem12.
drepper [Sat, 26 May 2007 01:30:09 +0000 (01:30 +0000)]
(tests): Add tst-sem10, tst-sem11, tst-sem12.

13 years agoTest struct new_sem and struct old_sem instead of struct sem.
drepper [Sat, 26 May 2007 01:29:58 +0000 (01:29 +0000)]
Test struct new_sem and struct old_sem instead of struct sem.

13 years agoAdjust for renamed element.
drepper [Sat, 26 May 2007 01:29:25 +0000 (01:29 +0000)]
Adjust for renamed element.

13 years agoInitialize all fields of the structure.
drepper [Sat, 26 May 2007 01:29:13 +0000 (01:29 +0000)]
Initialize all fields of the structure.

13 years ago(__new_sem_init): Rewrite to initialize all three fields in the structure.
drepper [Sat, 26 May 2007 01:29:04 +0000 (01:29 +0000)]
(__new_sem_init): Rewrite to initialize all three fields in the structure.
(__old_sem_init): New function.

13 years agoDeclare __old_sem_init and __old_sem_wait.
drepper [Sat, 26 May 2007 01:27:57 +0000 (01:27 +0000)]
Declare __old_sem_init and __old_sem_wait.

13 years agoOffsets into struct new_sem.
drepper [Sat, 26 May 2007 01:24:50 +0000 (01:24 +0000)]
Offsets into struct new_sem.

13 years agoTest of semaphores.
drepper [Sat, 26 May 2007 01:23:04 +0000 (01:23 +0000)]
Test of semaphores.

13 years ago * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
jakub [Fri, 25 May 2007 19:27:03 +0000 (19:27 +0000)]
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
Move __pthread_enable_asynccancel right before futex syscall.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
Likewise.

13 years ago.
drepper [Fri, 25 May 2007 14:41:55 +0000 (14:41 +0000)]
.

13 years ago(__open_2): Add nonnull attribute.
drepper [Fri, 25 May 2007 14:41:52 +0000 (14:41 +0000)]
(__open_2): Add nonnull attribute.
(open): Fix comment typos.  Don't call __open_2 if flags
is a compile time constant without O_CREAT.
(__open64_2): Add nonnull attribute.
(open64): Fix comment typos.  Don't call __open64_2 if flags
is a compile time constant without O_CREAT.
(__openat_2): Add nonnull attribute, fix nonnull attribute
on redirect.
(openat): Fix comment typos.  Don't call __openat_2 if flags
is a compile time constant without O_CREAT.
(__openat64_2): Add nonnull attribute, fix nonnull attribute
on redirect.
(openat64): Fix comment typos.  Don't call __openat64_2 if flags
is a compile time constant without O_CREAT.

13 years ago(__pthread_initialize_minimal_internal): Fix last patch.
drepper [Fri, 25 May 2007 06:18:19 +0000 (06:18 +0000)]
(__pthread_initialize_minimal_internal): Fix last patch.

13 years ago.
drepper [Fri, 25 May 2007 05:24:16 +0000 (05:24 +0000)]
.

13 years ago(__pthread_initialize_minimal_internal): Use THREAD_SET_PRIVATE_FUTEX.
drepper [Fri, 25 May 2007 05:23:26 +0000 (05:23 +0000)]
(__pthread_initialize_minimal_internal): Use THREAD_SET_PRIVATE_FUTEX.

13 years ago(allocate_stack): Use THREAD_COPY_PRIVATE_FUTEX.
drepper [Fri, 25 May 2007 05:23:16 +0000 (05:23 +0000)]
(allocate_stack): Use THREAD_COPY_PRIVATE_FUTEX.

13 years ago(THREAD_SET_PRIVATE_FUTEX, THREAD_COPY_PRIVATE_FUTEX): Define.
drepper [Fri, 25 May 2007 05:23:03 +0000 (05:23 +0000)]
(THREAD_SET_PRIVATE_FUTEX, THREAD_COPY_PRIVATE_FUTEX): Define.

13 years ago.
drepper [Fri, 25 May 2007 05:21:07 +0000 (05:21 +0000)]
.

13 years ago(__wait_lookup_done): Use THREAD_GSCOPE_GET_FLAG instead of
drepper [Fri, 25 May 2007 05:20:38 +0000 (05:20 +0000)]
(__wait_lookup_done): Use THREAD_GSCOPE_GET_FLAG instead of
->header.gscope_flag directly.

13 years ago(THREAD_GSCOPE_GET_FLAG): Define.
drepper [Fri, 25 May 2007 05:20:20 +0000 (05:20 +0000)]
(THREAD_GSCOPE_GET_FLAG): Define.

13 years ago(THREAD_GSCOPE_WAIT): Don't use PTR_DEMANGLE.
drepper [Fri, 25 May 2007 05:20:10 +0000 (05:20 +0000)]
(THREAD_GSCOPE_WAIT): Don't use PTR_DEMANGLE.
(THREAD_GSCOPE_GET_FLAG): Define.

13 years ago(tcbhead_t): Add gscope_flag.
drepper [Fri, 25 May 2007 05:19:50 +0000 (05:19 +0000)]
(tcbhead_t): Add gscope_flag.
(THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED,
THREAD_GSCOPE_FLAG_WAIT): Define.
(THREAD_GSCOPE_GET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_WAIT): Define.

13 years ago(__open64_2): Make syscall directly.
drepper [Fri, 25 May 2007 00:25:57 +0000 (00:25 +0000)]
(__open64_2): Make syscall directly.

13 years agoAdd some parenthesis.
drepper [Fri, 25 May 2007 00:18:57 +0000 (00:18 +0000)]
Add some parenthesis.

13 years ago.
drepper [Thu, 24 May 2007 23:55:28 +0000 (23:55 +0000)]
.

13 years ago__open_2 implementation for Linux.
drepper [Thu, 24 May 2007 23:55:22 +0000 (23:55 +0000)]
__open_2 implementation for Linux.

13 years ago[subdir=io] (sysdep_routines): Add open_2.
drepper [Thu, 24 May 2007 23:54:58 +0000 (23:54 +0000)]
[subdir=io] (sysdep_routines): Add open_2.

13 years agoFirtification definitions for fcntl.h.
drepper [Thu, 24 May 2007 23:54:15 +0000 (23:54 +0000)]
Firtification definitions for fcntl.h.

13 years agoDefine *_2 variant of function which checks for O_CREAT and fails if necessary.
drepper [Thu, 24 May 2007 23:53:48 +0000 (23:53 +0000)]
Define *_2 variant of function which checks for O_CREAT and fails if necessary.

13 years agoWhen compiling with fortification, include bits/fcntl2.h.
drepper [Thu, 24 May 2007 23:52:00 +0000 (23:52 +0000)]
When compiling with fortification, include bits/fcntl2.h.

13 years agoExport __open_2, __open64_2, __openat_2, and __openat64_2 for GLIBC_2.7.
drepper [Thu, 24 May 2007 23:50:48 +0000 (23:50 +0000)]
Export __open_2, __open64_2, __openat_2, and __openat64_2 for GLIBC_2.7.

13 years agoForwarding header for io/bits/fcntl2.h.
drepper [Thu, 24 May 2007 23:49:54 +0000 (23:49 +0000)]
Forwarding header for io/bits/fcntl2.h.

13 years agoDeclare __open_2, __open64_2, __openat_2, and __openat64_2.
drepper [Thu, 24 May 2007 23:49:12 +0000 (23:49 +0000)]
Declare __open_2, __open64_2, __openat_2, and __openat64_2.

13 years ago(routines): Add fortify_fail.
drepper [Thu, 24 May 2007 23:47:43 +0000 (23:47 +0000)]
(routines): Add fortify_fail.

13 years agoUse __fortify_fail.
drepper [Thu, 24 May 2007 23:47:08 +0000 (23:47 +0000)]
Use __fortify_fail.

13 years agoImplement __fortify_fail.
drepper [Thu, 24 May 2007 23:46:23 +0000 (23:46 +0000)]
Implement __fortify_fail.

13 years agoDeclare __fortify_fail.
drepper [Thu, 24 May 2007 23:46:01 +0000 (23:46 +0000)]
Declare __fortify_fail.

13 years agoDefine GLIBC_2.7 for libc.
drepper [Thu, 24 May 2007 23:45:15 +0000 (23:45 +0000)]
Define GLIBC_2.7 for libc.

13 years ago(sysd-rules): Define PTW for ptw-* files.
drepper [Thu, 24 May 2007 23:44:21 +0000 (23:44 +0000)]
(sysd-rules): Define PTW for ptw-* files.

13 years ago.
drepper [Wed, 23 May 2007 20:51:45 +0000 (20:51 +0000)]
.

13 years agoAdjust so that change in libc-lowlevellock.S allow using private futexes.
drepper [Wed, 23 May 2007 20:51:35 +0000 (20:51 +0000)]
Adjust so that change in libc-lowlevellock.S allow using private futexes.

13 years agoUse private futexes if they are available.
drepper [Wed, 23 May 2007 20:51:19 +0000 (20:51 +0000)]
Use private futexes if they are available.

13 years agoUse private futexes if they are available.
drepper [Wed, 23 May 2007 20:50:58 +0000 (20:50 +0000)]
Use private futexes if they are available.

13 years agoDefine FUTEX_PRIVATE_FLAG.
drepper [Wed, 23 May 2007 20:50:37 +0000 (20:50 +0000)]
Define FUTEX_PRIVATE_FLAG.

13 years ago(tcbhead_t): Add private_futex field.
drepper [Wed, 23 May 2007 20:50:15 +0000 (20:50 +0000)]
(tcbhead_t): Add private_futex field.

13 years agoAdd PRIVATE_FUTEX.
drepper [Wed, 23 May 2007 20:49:55 +0000 (20:49 +0000)]
Add PRIVATE_FUTEX.

13 years ago(__pthread_initialize_minimal_internal): Check whether private futexes
drepper [Wed, 23 May 2007 20:49:29 +0000 (20:49 +0000)]
(__pthread_initialize_minimal_internal): Check whether private futexes
are available.

13 years ago.
drepper [Mon, 21 May 2007 22:38:06 +0000 (22:38 +0000)]
.

13 years ago(init_cacheinfo): Pass correct value as second parameter to handle_intel.
drepper [Mon, 21 May 2007 22:37:45 +0000 (22:37 +0000)]
(init_cacheinfo): Pass correct value as second parameter to handle_intel.

13 years ago.
drepper [Mon, 21 May 2007 22:32:14 +0000 (22:32 +0000)]
.

13 years ago(struct pthread_functions): Remove ptr_wait_lookup_done again.
drepper [Mon, 21 May 2007 22:31:01 +0000 (22:31 +0000)]
(struct pthread_functions): Remove ptr_wait_lookup_done again.

13 years ago(__libc_pthread_init): Remove code to code _dl_wait_lookup_done.
drepper [Mon, 21 May 2007 22:30:33 +0000 (22:30 +0000)]
(__libc_pthread_init): Remove code to code _dl_wait_lookup_done.

13 years ago(THREAD_GSCOPE_WAIT): The pointer is not encrypted for now.
drepper [Mon, 21 May 2007 22:30:13 +0000 (22:30 +0000)]
(THREAD_GSCOPE_WAIT): The pointer is not encrypted for now.

13 years ago(pthread_functions): Don't add .ptr_wait_lookup_done here.
drepper [Mon, 21 May 2007 22:29:51 +0000 (22:29 +0000)]
(pthread_functions): Don't add .ptr_wait_lookup_done here.
(__pthread_initialize_minimal_internal): Initialize
_dl_wait_lookup_done pointer in _rtld_global directly.

13 years ago * tst-robust9.c (do_test): Don't fail if ENABLE_PI and
jakub [Mon, 21 May 2007 22:12:40 +0000 (22:12 +0000)]
* tst-robust9.c (do_test): Don't fail if ENABLE_PI and
pthread_mutex_init failed with ENOTSUP.

13 years ago.
drepper [Mon, 21 May 2007 21:23:18 +0000 (21:23 +0000)]
.

13 years ago(addhstaiX): If reported TTL is zero don't cache the entry.
drepper [Mon, 21 May 2007 21:23:08 +0000 (21:23 +0000)]
(addhstaiX): If reported TTL is zero don't cache the entry.

13 years ago.
drepper [Mon, 21 May 2007 19:21:48 +0000 (19:21 +0000)]
.

13 years agoAdjust for memcpy.S change.
drepper [Mon, 21 May 2007 19:21:16 +0000 (19:21 +0000)]
Adjust for memcpy.S change.

13 years agoComplete rewrite.
drepper [Mon, 21 May 2007 19:21:01 +0000 (19:21 +0000)]
Complete rewrite.

13 years ago[subdir=string] (sysdep_routines): Add cacheinfo.
drepper [Mon, 21 May 2007 19:20:45 +0000 (19:20 +0000)]
[subdir=string] (sysdep_routines): Add cacheinfo.

13 years agoCode to determine cache size information.
drepper [Mon, 21 May 2007 19:20:29 +0000 (19:20 +0000)]
Code to determine cache size information.

13 years agoMove cache information handling to sysdeps/x86_64/cacheinfo.c.
drepper [Mon, 21 May 2007 19:18:37 +0000 (19:18 +0000)]
Move cache information handling to sysdeps/x86_64/cacheinfo.c.

13 years agoAvoid defining ENOSYS here.
drepper [Mon, 21 May 2007 19:05:29 +0000 (19:05 +0000)]
Avoid defining ENOSYS here.

13 years agoepoll_pwait for Linux/x86.
drepper [Mon, 21 May 2007 18:55:28 +0000 (18:55 +0000)]
epoll_pwait for Linux/x86.

13 years ago.
drepper [Mon, 21 May 2007 18:25:03 +0000 (18:25 +0000)]
.

13 years agoUndo last change.
drepper [Mon, 21 May 2007 18:24:37 +0000 (18:24 +0000)]
Undo last change.

13 years ago.
drepper [Mon, 21 May 2007 18:23:50 +0000 (18:23 +0000)]
.

13 years ago(sysdep_routines): Add epoll_pwait.
drepper [Mon, 21 May 2007 18:23:33 +0000 (18:23 +0000)]
(sysdep_routines): Add epoll_pwait.

13 years agoepoll_pwait implementation.
drepper [Mon, 21 May 2007 18:23:18 +0000 (18:23 +0000)]
epoll_pwait implementation.

13 years ago(epoll_pwait): Declare.
drepper [Mon, 21 May 2007 18:23:01 +0000 (18:23 +0000)]
(epoll_pwait): Declare.

13 years ago(epoll_pwait): Remove.
drepper [Mon, 21 May 2007 18:22:51 +0000 (18:22 +0000)]
(epoll_pwait): Remove.

13 years ago.
drepper [Mon, 21 May 2007 17:50:46 +0000 (17:50 +0000)]
.

13 years ago(main): Add 3 new testcases.
drepper [Mon, 21 May 2007 17:50:42 +0000 (17:50 +0000)]
(main): Add 3 new testcases.

13 years agovfprintf): Don't shadow workstart variable, reinitialize workend at
drepper [Mon, 21 May 2007 17:50:22 +0000 (17:50 +0000)]
vfprintf): Don't shadow workstart variable, reinitialize workend at
the start of each do_positional format spec loop, free workstart
before do_positional loops.
(printf_unknown): Fix size of work_buffer.

13 years ago.
drepper [Mon, 21 May 2007 16:13:18 +0000 (16:13 +0000)]
.

13 years ago[MALLOC_DEBUG]: Revert 2007-05-13 changes.
drepper [Mon, 21 May 2007 16:13:07 +0000 (16:13 +0000)]
[MALLOC_DEBUG]: Revert 2007-05-13 changes.

13 years ago(do_check_malloc_state): Don't assert n_mmaps is not greater than
drepper [Mon, 21 May 2007 16:12:53 +0000 (16:12 +0000)]
(do_check_malloc_state): Don't assert n_mmaps is not greater than
n_mmaps_max.  This removes the need for the previous change.

[MALLOC_DEBUG]: Revert 2007-05-13 changes.

13 years ago(CFLAGS-malloc.c): Revert accidental 2007-05-07 commit.
drepper [Mon, 21 May 2007 16:12:25 +0000 (16:12 +0000)]
(CFLAGS-malloc.c): Revert accidental 2007-05-07 commit.

13 years ago(MALLOC_STATE_VERSION): Bump. (public_sET_STATe): If ms->version < 3,
drepper [Mon, 21 May 2007 16:12:12 +0000 (16:12 +0000)]
(MALLOC_STATE_VERSION): Bump.  (public_sET_STATe): If ms->version < 3,
put all chunks into unsorted chunks and clear {fd,bk}_nextsize fields of
largebin chunks.

[MALLOC_DEBUG]: Revert 2007-05-13 changes.

13 years ago.
drepper [Sat, 19 May 2007 19:08:24 +0000 (19:08 +0000)]
.

13 years ago(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.
drepper [Sat, 19 May 2007 19:07:59 +0000 (19:07 +0000)]
(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.

13 years agoCommit missing test case wrapper file.
roland [Sat, 19 May 2007 08:21:27 +0000 (08:21 +0000)]
Commit missing test case wrapper file.

13 years ago.
drepper [Sat, 19 May 2007 07:08:23 +0000 (07:08 +0000)]
.

13 years agoDefine _dl_wait_lookup_done.
drepper [Sat, 19 May 2007 07:08:14 +0000 (07:08 +0000)]
Define _dl_wait_lookup_done.

13 years ago(_dl_fixup): Protect using global scope. (_dl_lookup_symbol_x): Likewise.
drepper [Sat, 19 May 2007 07:08:02 +0000 (07:08 +0000)]
(_dl_fixup): Protect using global scope. (_dl_lookup_symbol_x): Likewise.

13 years ago(add_to_global): When global scope array must grow, allocate a new one
drepper [Sat, 19 May 2007 07:07:43 +0000 (07:07 +0000)]
(add_to_global): When global scope array must grow, allocate a new one
and free old array only after all lookups finish.

13 years ago(_dl_close_worker): When removing object from global scope, wait for
drepper [Sat, 19 May 2007 07:07:29 +0000 (07:07 +0000)]
(_dl_close_worker): When removing object from global scope, wait for
all lookups to finish afterwards.

13 years ago(struct rtld_global): Add _dl_wait_lookup_done.
drepper [Sat, 19 May 2007 07:07:16 +0000 (07:07 +0000)]
(struct rtld_global): Add _dl_wait_lookup_done.

13 years ago.
drepper [Sat, 19 May 2007 07:07:06 +0000 (07:07 +0000)]
.

13 years ago(__libc_pthread_init): Initialize GL(dl_wait_lookup_done).
drepper [Sat, 19 May 2007 07:06:57 +0000 (07:06 +0000)]
(__libc_pthread_init): Initialize GL(dl_wait_lookup_done).

13 years ago(struct pthread_functions): Add ptr_wait_lookup_done.
drepper [Sat, 19 May 2007 07:06:41 +0000 (07:06 +0000)]
(struct pthread_functions): Add ptr_wait_lookup_done.

13 years ago(tcbhead_t): Add gscope_flag.
drepper [Sat, 19 May 2007 07:06:24 +0000 (07:06 +0000)]
(tcbhead_t): Add gscope_flag.
Define macros to implement reference handling of global scope.

13 years agoDeclare __wait_lookup_done.
drepper [Sat, 19 May 2007 07:06:10 +0000 (07:06 +0000)]
Declare __wait_lookup_done.

13 years ago(pthread_functions): Initialize .ptr_wait_lookup_done.
drepper [Sat, 19 May 2007 07:05:59 +0000 (07:05 +0000)]
(pthread_functions): Initialize .ptr_wait_lookup_done.

13 years ago(__wait_lookup_done): New function.
drepper [Sat, 19 May 2007 07:05:45 +0000 (07:05 +0000)]
(__wait_lookup_done): New function.

13 years ago.
drepper [Sat, 19 May 2007 04:42:52 +0000 (04:42 +0000)]
.

13 years ago(do_check_chunk): Correct check for mmaped block not overlapping with arena.
drepper [Sat, 19 May 2007 04:42:38 +0000 (04:42 +0000)]
(do_check_chunk): Correct check for mmaped block not overlapping with arena.

13 years ago(reallochook): Fix return value.
drepper [Sat, 19 May 2007 04:27:20 +0000 (04:27 +0000)]
(reallochook): Fix return value.

13 years ago.
drepper [Sat, 19 May 2007 04:26:03 +0000 (04:26 +0000)]
.