kopensolaris-gnu/glibc.git
16 years ago(__pthread_create_2_1): Remember whether thread is created detached
drepper [Fri, 24 Sep 2004 18:20:01 +0000 (18:20 +0000)]
(__pthread_create_2_1): Remember whether thread is created detached
and if yes, do not try to free the stack in case the thread creation
failed.

16 years agoUpdate.
aj [Fri, 24 Sep 2004 17:09:40 +0000 (17:09 +0000)]
Update.

16 years ago * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove
aj [Fri, 24 Sep 2004 17:09:03 +0000 (17:09 +0000)]
* sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove
static, add always_inline attribute.
(elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.

* elf/dynamic-link.h (elf_get_dynamic_info): Make static
dependend on !RESOLVE so that it's not defined in local
scope.

* locale/weight.h (findidx): Remove static, it's not supported
anymore with GCC 4.0 in a block scope.
* locale/weightwc.h (findidx): Likewise.
* posix/regcomp.c (seek_collating_symbol_entry): Likewise.
(lookup_collation_sequence_value): Likewise.
(build_range_exp): Likewise.
(build_collating_symbol): Likewise.
* iconv/iconvconfig.c (write_output): Likewise.
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.

16 years agoUpdate.
drepper [Fri, 24 Sep 2004 07:18:48 +0000 (07:18 +0000)]
Update.

16 years ago(start_thread): Don't wait for scheduler data etc to be set at the
drepper [Fri, 24 Sep 2004 07:17:52 +0000 (07:17 +0000)]
(start_thread): Don't wait for scheduler data etc to be set at the
beginning of the function.  The cancellation infrastructure must have
been set up.  And enable async cancellation before potentially going
to sleep.

16 years agoUpdate.
drepper [Fri, 24 Sep 2004 06:20:16 +0000 (06:20 +0000)]
Update.

16 years ago(INTERNAL_SYSCALL_NCS): Define.
drepper [Fri, 24 Sep 2004 06:19:53 +0000 (06:19 +0000)]
(INTERNAL_SYSCALL_NCS): Define.

16 years agoUpdate.
drepper [Thu, 23 Sep 2004 14:07:48 +0000 (14:07 +0000)]
Update.

16 years agoSync MS_RMT_MASK flag and BLK* ioctls with linux kernel headers.
drepper [Thu, 23 Sep 2004 14:06:51 +0000 (14:06 +0000)]
Sync MS_RMT_MASK flag and BLK* ioctls with linux kernel headers.

16 years agoRegenerated.
drepper [Thu, 23 Sep 2004 07:49:26 +0000 (07:49 +0000)]
Regenerated.

16 years agoUpdate.
drepper [Thu, 23 Sep 2004 07:45:38 +0000 (07:45 +0000)]
Update.

16 years agoAdd rules to build and run new tests.
drepper [Thu, 23 Sep 2004 07:44:59 +0000 (07:44 +0000)]
Add rules to build and run new tests.

16 years agoAdjust callers of _dl_new_object.
drepper [Thu, 23 Sep 2004 07:44:34 +0000 (07:44 +0000)]
Adjust callers of _dl_new_object.
(_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything for
DF_SYMBOLIC.

16 years agoAdjust callers of _dl_new_object.
drepper [Thu, 23 Sep 2004 07:44:04 +0000 (07:44 +0000)]
Adjust callers of _dl_new_object.

16 years ago(dl_open_writer): Pass RTLD_DEEPBIND flag on to _dl_map_object_deps.
drepper [Thu, 23 Sep 2004 07:43:21 +0000 (07:43 +0000)]
(dl_open_writer): Pass RTLD_DEEPBIND flag on to _dl_map_object_deps.

16 years agoPretty printing.
drepper [Thu, 23 Sep 2004 07:42:29 +0000 (07:42 +0000)]
Pretty printing.

16 years ago(_dl_new_object): Add new parameter mode. If mode has RTLD_DEEPBIND
drepper [Thu, 23 Sep 2004 07:40:25 +0000 (07:40 +0000)]
(_dl_new_object): Add new parameter mode.  If mode has RTLD_DEEPBIND
set add local searchlist before global scope.

16 years agoTest for RTLD_DEEPBIND.
drepper [Thu, 23 Sep 2004 07:38:50 +0000 (07:38 +0000)]
Test for RTLD_DEEPBIND.

16 years ago(_dl_new_object): Add new parameter mode.
drepper [Thu, 23 Sep 2004 07:37:38 +0000 (07:37 +0000)]
(_dl_new_object): Add new parameter mode.

16 years agoAdd RTLD_DEEPBIND.
drepper [Thu, 23 Sep 2004 07:37:00 +0000 (07:37 +0000)]
Add RTLD_DEEPBIND.

16 years agoUpdate.
drepper [Thu, 23 Sep 2004 05:17:06 +0000 (05:17 +0000)]
Update.

16 years ago(inline_syscall[0-6]): Change name argument to numbers from syscall names.
drepper [Thu, 23 Sep 2004 05:16:32 +0000 (05:16 +0000)]
(inline_syscall[0-6]): Change name argument to numbers from syscall names.
(INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust.
(INTERNAL_SYSCALL_NCS): Define.

16 years ago(INTERNAL_SYSCALL_NCS): Define.
drepper [Thu, 23 Sep 2004 05:16:04 +0000 (05:16 +0000)]
(INTERNAL_SYSCALL_NCS): Define.

16 years ago(inline_syscall[0-6]): Change name argument to numbers from syscall names.
drepper [Thu, 23 Sep 2004 05:15:41 +0000 (05:15 +0000)]
(inline_syscall[0-6]): Change name argument to numbers from syscall names.
(INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr.
(INTERNAL_SYSCALL_NCS): Renamed from...
(INTERNAL_SYSCALL_1): ... this.  Use INTERNAL_SYSCALL_NCS.

16 years agoUpdate.
drepper [Thu, 23 Sep 2004 04:45:09 +0000 (04:45 +0000)]
Update.

16 years ago(malloc_printerr): Use syslog if writev failed.
drepper [Thu, 23 Sep 2004 04:44:08 +0000 (04:44 +0000)]
(malloc_printerr): Use syslog if writev failed.

16 years agoUpdate. fedora-glibc-20040923T0148
drepper [Wed, 22 Sep 2004 08:20:57 +0000 (08:20 +0000)]
Update.

16 years agoAdd __nonnull annotations.
drepper [Wed, 22 Sep 2004 08:20:22 +0000 (08:20 +0000)]
Add __nonnull annotations.

16 years agoAdd __nonnull annotations.
drepper [Wed, 22 Sep 2004 08:19:57 +0000 (08:19 +0000)]
Add __nonnull annotations.

16 years agoUpdate. fedora-base
drepper [Wed, 22 Sep 2004 05:11:15 +0000 (05:11 +0000)]
Update.

16 years ago(DO_INLINE_SYSCALL): Renamed to ...
drepper [Wed, 22 Sep 2004 05:10:45 +0000 (05:10 +0000)]
(DO_INLINE_SYSCALL): Renamed to ...
(DO_INLINE_SYSCALL_NCS): This.
(DO_INLINE_SYSCALL): New.
(INLINE_SYSCALL): Updated.
(INTERNAL_SYSCALL_NCS): Updated.

16 years agoUpdate.
drepper [Wed, 22 Sep 2004 02:19:00 +0000 (02:19 +0000)]
Update.

16 years ago(load_shobj): Add support for reading symbol table from debuginfo file.
drepper [Wed, 22 Sep 2004 02:18:30 +0000 (02:18 +0000)]
(load_shobj): Add support for reading symbol table from debuginfo file.

16 years ago.
roland [Wed, 22 Sep 2004 00:21:26 +0000 (00:21 +0000)]
.

16 years ago2004-09-21 Roland McGrath <roland@redhat.com>
roland [Wed, 22 Sep 2004 00:21:20 +0000 (00:21 +0000)]
2004-09-21  Roland McGrath  <roland@redhat.com>

* Versions: Add comment about linuxthreads' frozen ABI.

16 years agoUpdate.
drepper [Tue, 21 Sep 2004 15:40:52 +0000 (15:40 +0000)]
Update.

16 years agoFix syntax errors.
drepper [Tue, 21 Sep 2004 15:38:48 +0000 (15:38 +0000)]
Fix syntax errors.

16 years agoUpdate.
drepper [Tue, 21 Sep 2004 02:30:50 +0000 (02:30 +0000)]
Update.

16 years ago(_dl_make_stack_executable): Remove some duplication.
drepper [Tue, 21 Sep 2004 02:30:12 +0000 (02:30 +0000)]
(_dl_make_stack_executable): Remove some duplication.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 23:16:22 +0000 (23:16 +0000)]
Update.

16 years ago(options): Mark S option as hidden.
drepper [Mon, 20 Sep 2004 23:15:42 +0000 (23:15 +0000)]
(options): Mark S option as hidden.
(parse_opt): When S option is used, print warning message.

16 years ago(adgeptbyX): Don't handle secure mode.
drepper [Mon, 20 Sep 2004 23:14:42 +0000 (23:14 +0000)]
(adgeptbyX): Don't handle secure mode.

16 years ago(addhstbyX): Don't handle secure mode.
drepper [Mon, 20 Sep 2004 23:14:08 +0000 (23:14 +0000)]
(addhstbyX): Don't handle secure mode.

16 years ago(addhstaiX): Don't handle secure mode.
drepper [Mon, 20 Sep 2004 23:13:30 +0000 (23:13 +0000)]
(addhstaiX): Don't handle secure mode.

16 years ago(addpwbyX): Don't handle secure mode.
drepper [Mon, 20 Sep 2004 23:12:44 +0000 (23:12 +0000)]
(addpwbyX): Don't handle secure mode.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 22:26:16 +0000 (22:26 +0000)]
Update.

16 years agoRemove exports for pthread_set*id_np functions.
drepper [Mon, 20 Sep 2004 22:15:25 +0000 (22:15 +0000)]
Remove exports for pthread_set*id_np functions.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 22:14:33 +0000 (22:14 +0000)]
Update.

16 years agoRemove exports for pthread_set*id_np functions.
drepper [Mon, 20 Sep 2004 22:13:11 +0000 (22:13 +0000)]
Remove exports for pthread_set*id_np functions.

16 years agoRemove pthread_set*id_np prototypes for now.
drepper [Mon, 20 Sep 2004 22:12:11 +0000 (22:12 +0000)]
Remove pthread_set*id_np prototypes for now.

16 years agoDon't build pthread_set*id code for now.
drepper [Mon, 20 Sep 2004 22:10:55 +0000 (22:10 +0000)]
Don't build pthread_set*id code for now.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 22:08:04 +0000 (22:08 +0000)]
Update.

16 years agoRemove pthread_set*id_np prototypes for now.
drepper [Mon, 20 Sep 2004 22:06:49 +0000 (22:06 +0000)]
Remove pthread_set*id_np prototypes for now.

16 years agoDon't build pthread_set*id code for now.
drepper [Mon, 20 Sep 2004 22:05:25 +0000 (22:05 +0000)]
Don't build pthread_set*id code for now.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 21:55:35 +0000 (21:55 +0000)]
Update.

16 years agoIf selinux has not explictly been requested, don't comment on it missing.
drepper [Mon, 20 Sep 2004 21:53:15 +0000 (21:53 +0000)]
If selinux has not explictly been requested, don't comment on it missing.

16 years ago.
roland [Mon, 20 Sep 2004 20:56:19 +0000 (20:56 +0000)]
.

16 years ago2004-09-18 Paul Eggert <eggert@cs.ucla.edu>
roland [Mon, 20 Sep 2004 20:56:05 +0000 (20:56 +0000)]
2004-09-18  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #391]
* stdlib/getsubopt.c: Merge fixes from gnulib.
(__strchrnul) [!_LIBC]: Define and include "strchrnul.c".
(getsubopt): Use prototypes, not K&R style.
Fix bug: memcmp(A,B,N) was being invoked on a memory block B
whose size might be smaller than N.  Use strncmp to avoid the bug.

16 years ago2004-09-20 Roland McGrath <roland@frob.com>
roland [Mon, 20 Sep 2004 20:56:03 +0000 (20:56 +0000)]
2004-09-20  Roland McGrath  <roland@frob.com>

* elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN
in initializer #if defined.

16 years ago(_dl_map_object_from_fd): Add caller check.
drepper [Mon, 20 Sep 2004 15:15:23 +0000 (15:15 +0000)]
(_dl_map_object_from_fd): Add caller check.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 15:08:26 +0000 (15:08 +0000)]
Update.

16 years agoDefine __stack_prot.
drepper [Mon, 20 Sep 2004 15:07:20 +0000 (15:07 +0000)]
Define __stack_prot.

16 years agoDon't define __stack_prot here, just declare it.
drepper [Mon, 20 Sep 2004 15:06:46 +0000 (15:06 +0000)]
Don't define __stack_prot here, just declare it.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 14:47:18 +0000 (14:47 +0000)]
Update.

16 years agoRegenerated.
drepper [Mon, 20 Sep 2004 14:47:11 +0000 (14:47 +0000)]
Regenerated.

16 years ago(libc_cv_z_relro): Only set to yes if linker script contains
drepper [Mon, 20 Sep 2004 14:46:09 +0000 (14:46 +0000)]
(libc_cv_z_relro): Only set to yes if linker script contains
DATA_SEGMENT_RELRO_END.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 07:43:16 +0000 (07:43 +0000)]
Update.

16 years ago(_dl_map_object_from_fd): Add some error checking. Reorder code slightly.
drepper [Mon, 20 Sep 2004 07:42:43 +0000 (07:42 +0000)]
(_dl_map_object_from_fd): Add some error checking.  Reorder code slightly.

16 years ago(dl_main): No need to check whether l_info[DT_HASH] is non-null,
drepper [Mon, 20 Sep 2004 07:31:06 +0000 (07:31 +0000)]
(dl_main): No need to check whether l_info[DT_HASH] is non-null,
_dl_setup_hash will do that.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 00:16:11 +0000 (00:16 +0000)]
Update.

16 years ago(libpthread-routines): Add pthread_setuid, pthread_seteuid,
drepper [Mon, 20 Sep 2004 00:15:46 +0000 (00:15 +0000)]
(libpthread-routines): Add pthread_setuid, pthread_seteuid,
pthread_setreuid, pthread_setresuid, pthread_setgid, pthread_setegid,
pthread_setregid, and pthread_setresgid.

16 years ago[libpthread, GLIBC_2.3.4]: Add pthread_setgid_np, pthread_setuid_np,
drepper [Mon, 20 Sep 2004 00:15:21 +0000 (00:15 +0000)]
[libpthread, GLIBC_2.3.4]: Add pthread_setgid_np, pthread_setuid_np,
pthread_setegid_np, pthread_seteuid_np, pthread_setregid_np,
pthread_setreuid_np, pthread_setresgid_np, and pthread_setresuid_np.

16 years agosetuid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:14:52 +0000 (00:14 +0000)]
setuid for LinuxThreads.

16 years agosetreuid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:14:32 +0000 (00:14 +0000)]
setreuid for LinuxThreads.

16 years agosetresuid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:14:12 +0000 (00:14 +0000)]
setresuid for LinuxThreads.

16 years agosetresgid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:13:47 +0000 (00:13 +0000)]
setresgid for LinuxThreads.

16 years agosetregid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:13:28 +0000 (00:13 +0000)]
setregid for LinuxThreads.

16 years agosetgid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:13:09 +0000 (00:13 +0000)]
setgid for LinuxThreads.

16 years agoseteuid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:12:50 +0000 (00:12 +0000)]
seteuid for LinuxThreads.

16 years agosetegid for LinuxThreads.
drepper [Mon, 20 Sep 2004 00:12:32 +0000 (00:12 +0000)]
setegid for LinuxThreads.

16 years agoDeclare pthread_setgid_np, pthread_setuid_np, pthread_setegid_np,
drepper [Mon, 20 Sep 2004 00:11:39 +0000 (00:11 +0000)]
Declare pthread_setgid_np, pthread_setuid_np, pthread_setegid_np,
pthread_seteuid_np, pthread_setregid_np, pthread_setreuid_np,
pthread_setresgid_np, and pthread_setresuid_np.

16 years agoUpdate.
drepper [Mon, 20 Sep 2004 00:10:24 +0000 (00:10 +0000)]
Update.

16 years ago(libpthread-routines): Add pthread_setuid, pthread_seteuid,
drepper [Mon, 20 Sep 2004 00:09:41 +0000 (00:09 +0000)]
(libpthread-routines): Add pthread_setuid, pthread_seteuid,
pthread_setreuid, pthread_setresuid, pthread_setgid, pthread_setegid,
pthread_setregid, and pthread_setresgid.

16 years ago[libpthread, GLIBC_2.3.4]: Add pthread_setgid_np, pthread_setuid_np,
drepper [Mon, 20 Sep 2004 00:08:27 +0000 (00:08 +0000)]
[libpthread, GLIBC_2.3.4]: Add pthread_setgid_np, pthread_setuid_np,
pthread_setegid_np, pthread_seteuid_np, pthread_setregid_np,
pthread_setreuid_np, pthread_setresgid_np, and pthread_setresuid_np.

16 years agopthread_setuid for NPTL.
drepper [Mon, 20 Sep 2004 00:07:41 +0000 (00:07 +0000)]
pthread_setuid for NPTL.

16 years agopthread_setreuid for NPTL.
drepper [Mon, 20 Sep 2004 00:07:23 +0000 (00:07 +0000)]
pthread_setreuid for NPTL.

16 years agopthread_setresuid for NPTL.
drepper [Mon, 20 Sep 2004 00:07:03 +0000 (00:07 +0000)]
pthread_setresuid for NPTL.

16 years agopthread_setresgid for NPTL.
drepper [Mon, 20 Sep 2004 00:06:41 +0000 (00:06 +0000)]
pthread_setresgid for NPTL.

16 years agopthread_setregid for NPTL.
drepper [Mon, 20 Sep 2004 00:06:21 +0000 (00:06 +0000)]
pthread_setregid for NPTL.

16 years agopthread_setgid for NPTL.
drepper [Mon, 20 Sep 2004 00:06:02 +0000 (00:06 +0000)]
pthread_setgid for NPTL.

16 years agopthread_seteuid for NPTL.
drepper [Mon, 20 Sep 2004 00:05:38 +0000 (00:05 +0000)]
pthread_seteuid for NPTL.

16 years agopthread_setegid for NPTL.
drepper [Mon, 20 Sep 2004 00:05:06 +0000 (00:05 +0000)]
pthread_setegid for NPTL.

16 years agoDeclare pthread_setgid_np, pthread_setuid_np, pthread_setegid_np,
drepper [Mon, 20 Sep 2004 00:01:23 +0000 (00:01 +0000)]
Declare pthread_setgid_np, pthread_setuid_np, pthread_setegid_np,
pthread_seteuid_np, pthread_setregid_np, pthread_setreuid_np,
pthread_setresgid_np, and pthread_setresuid_np.

16 years agoAdd ptr__nptl_setxid.
drepper [Mon, 20 Sep 2004 00:00:07 +0000 (00:00 +0000)]
Add ptr__nptl_setxid.

16 years agoDefine SIGSETXID. Declare __xidcmd variable.
drepper [Sun, 19 Sep 2004 23:59:40 +0000 (23:59 +0000)]
Define SIGSETXID.  Declare __xidcmd variable.
Declare __nptl_setxid.

16 years agoUpdate comment.
drepper [Sun, 19 Sep 2004 23:58:44 +0000 (23:58 +0000)]
Update comment.

16 years ago(pthread_functions): Add ptr__nptl_setxid initialization.
drepper [Sun, 19 Sep 2004 23:58:18 +0000 (23:58 +0000)]
(pthread_functions): Add ptr__nptl_setxid initialization.
(sighandler_setxid): New function.
(__pthread_initialize_minimal): Register sighandler_setxid for SIGCANCEL.

16 years ago(struct xid_command): Define type.
drepper [Sun, 19 Sep 2004 23:56:48 +0000 (23:56 +0000)]
(struct xid_command): Define type.

16 years ago(__nptl_setxid): New function.
drepper [Sun, 19 Sep 2004 23:56:25 +0000 (23:56 +0000)]
(__nptl_setxid): New function.

16 years agoAllocate second signal for internal use.
drepper [Sun, 19 Sep 2004 23:55:02 +0000 (23:55 +0000)]
Allocate second signal for internal use.