kopensolaris-gnu/glibc.git
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.

16 years agoUpdate.
drepper [Sun, 19 Sep 2004 23:54:04 +0000 (23:54 +0000)]
Update.

16 years agoUse pthread_seteuid_np instead of seteuid.
drepper [Sun, 19 Sep 2004 23:53:28 +0000 (23:53 +0000)]
Use pthread_seteuid_np instead of seteuid.

16 years agoRemove setresgid and setresuid.
drepper [Sun, 19 Sep 2004 23:52:10 +0000 (23:52 +0000)]
Remove setresgid and setresuid.

16 years agosetresuid for Linux/SPARC32.
drepper [Sun, 19 Sep 2004 23:51:44 +0000 (23:51 +0000)]
setresuid for Linux/SPARC32.

16 years agosetresgid for Linux/SPARC32.
drepper [Sun, 19 Sep 2004 23:51:19 +0000 (23:51 +0000)]
setresgid for Linux/SPARC32.

16 years agoUse x86 version.
drepper [Sun, 19 Sep 2004 23:47:50 +0000 (23:47 +0000)]
Use x86 version.

16 years agoDefine INTERNAL_SYSCALL_NCS.
drepper [Sun, 19 Sep 2004 23:46:31 +0000 (23:46 +0000)]
Define INTERNAL_SYSCALL_NCS.

16 years ago[HAVE_PTR__NPTL_SETXID]: Call callback to set IDs in all other threads as well.
drepper [Sun, 19 Sep 2004 23:44:35 +0000 (23:44 +0000)]
[HAVE_PTR__NPTL_SETXID]: Call callback to set IDs in all other threads as well.

16 years agosetuid for Linux.
drepper [Sun, 19 Sep 2004 23:43:13 +0000 (23:43 +0000)]
setuid for Linux.

16 years agosetreuid for Linux.
drepper [Sun, 19 Sep 2004 23:42:53 +0000 (23:42 +0000)]
setreuid for Linux.

16 years agosetresuid for Linux.
drepper [Sun, 19 Sep 2004 23:42:33 +0000 (23:42 +0000)]
setresuid for Linux.

16 years agosetresgid for Linux.
drepper [Sun, 19 Sep 2004 23:42:15 +0000 (23:42 +0000)]
setresgid for Linux.

16 years agosetregid for Linux.
drepper [Sun, 19 Sep 2004 23:41:57 +0000 (23:41 +0000)]
setregid for Linux.

16 years agosetgid for Linux.
drepper [Sun, 19 Sep 2004 23:41:34 +0000 (23:41 +0000)]
setgid for Linux.

16 years agoUpdate.
drepper [Sun, 19 Sep 2004 20:52:52 +0000 (20:52 +0000)]
Update.

16 years ago(res_nmkquery): Fix typo.
drepper [Sun, 19 Sep 2004 20:52:12 +0000 (20:52 +0000)]
(res_nmkquery): Fix typo.

16 years agoUpdate.
drepper [Sun, 19 Sep 2004 02:48:59 +0000 (02:48 +0000)]
Update.

16 years ago(_dl_map_object_from_fd): Add PROT_EXEC flag to __stack_flags.
drepper [Sun, 19 Sep 2004 02:48:28 +0000 (02:48 +0000)]
(_dl_map_object_from_fd): Add PROT_EXEC flag to __stack_flags.

16 years agoGet protection flag from memory.
drepper [Sun, 19 Sep 2004 02:47:56 +0000 (02:47 +0000)]
Get protection flag from memory.

16 years agoUpdate.
drepper [Sat, 18 Sep 2004 23:57:46 +0000 (23:57 +0000)]
Update.

16 years ago(gaih_inet): Do not use gethostbyname3_r if we are not looking for the
drepper [Sat, 18 Sep 2004 23:57:15 +0000 (23:57 +0000)]
(gaih_inet): Do not use gethostbyname3_r if we are not looking for the
canonical name.

16 years agoUpdate.
drepper [Sat, 18 Sep 2004 21:21:36 +0000 (21:21 +0000)]
Update.

16 years ago(allocate_stack): Return EAGAIN instead of ENOMEM when out of memory.
drepper [Sat, 18 Sep 2004 21:20:52 +0000 (21:20 +0000)]
(allocate_stack): Return EAGAIN instead of ENOMEM when out of memory.

16 years agoUpdate.
drepper [Sat, 18 Sep 2004 18:04:49 +0000 (18:04 +0000)]
Update.

16 years ago(res_nmkquery): Randomize request ID every time.
drepper [Sat, 18 Sep 2004 18:00:50 +0000 (18:00 +0000)]
(res_nmkquery): Randomize request ID every time.

16 years ago.
roland [Sat, 18 Sep 2004 08:45:06 +0000 (08:45 +0000)]
.

16 years ago2004-09-18 Roland McGrath <roland@redhat.com>
roland [Sat, 18 Sep 2004 08:44:59 +0000 (08:44 +0000)]
2004-09-18  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to
system call.

16 years agoEncodings without iconv support.
drepper [Sat, 18 Sep 2004 08:15:55 +0000 (08:15 +0000)]
Encodings without iconv support.

16 years agoUpdate.
drepper [Sat, 18 Sep 2004 06:46:52 +0000 (06:46 +0000)]
Update.

16 years agoAdd -u option.
drepper [Sat, 18 Sep 2004 06:46:38 +0000 (06:46 +0000)]
Add -u option.

16 years ago(_dl_lookup_symbol_x): Mark object in which the symbol has been found
drepper [Sat, 18 Sep 2004 06:46:15 +0000 (06:46 +0000)]
(_dl_lookup_symbol_x): Mark object in which the symbol has been found
as used.

16 years ago(process_dl_debug): Recognize unused.
drepper [Sat, 18 Sep 2004 06:45:33 +0000 (06:45 +0000)]
(process_dl_debug): Recognize unused.
(dl_main): When unused debug flag is set check for unused direct
dependencies.
When printing dependencies and SONAME starts with /, omit the SONAME =>
part.

16 years agoDefine DL_DEBUG_UNUSED.
drepper [Sat, 18 Sep 2004 06:43:17 +0000 (06:43 +0000)]
Define DL_DEBUG_UNUSED.

16 years ago(struct link_map): Add l_used element.
drepper [Sat, 18 Sep 2004 06:42:31 +0000 (06:42 +0000)]
(struct link_map): Add l_used element.

16 years ago(gethosts): Pretty printing.
drepper [Sat, 18 Sep 2004 02:32:05 +0000 (02:32 +0000)]
(gethosts): Pretty printing.

16 years ago(gethosts): Not necessary to create the canon string more than once.
drepper [Fri, 17 Sep 2004 23:49:15 +0000 (23:49 +0000)]
(gethosts): Not necessary to create the canon string more than once.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 23:47:50 +0000 (23:47 +0000)]
Update.

16 years ago(setup_thread): Do nothing if __NR_set_tid_address is not defined.
drepper [Fri, 17 Sep 2004 23:46:58 +0000 (23:46 +0000)]
(setup_thread): Do nothing if __NR_set_tid_address is not defined.

16 years agoUse gethostbyname3_r NSS function in case it is available.
drepper [Fri, 17 Sep 2004 23:45:51 +0000 (23:45 +0000)]
Use gethostbyname3_r NSS function in case it is available.

16 years agoPretty printing.
drepper [Fri, 17 Sep 2004 21:00:49 +0000 (21:00 +0000)]
Pretty printing.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 19:51:26 +0000 (19:51 +0000)]
Update.

16 years ago(parse_opt): Write arg string instead of (void *) key to the socket.
drepper [Fri, 17 Sep 2004 19:50:21 +0000 (19:50 +0000)]
(parse_opt): Write arg string instead of (void *) key to the socket.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 19:27:08 +0000 (19:27 +0000)]
Update.

16 years agoAdd __nonnull where appropriate.
drepper [Fri, 17 Sep 2004 19:26:21 +0000 (19:26 +0000)]
Add __nonnull where appropriate.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 08:44:34 +0000 (08:44 +0000)]
Update.

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

16 years agoAdd __nonnull where appropriate.
drepper [Fri, 17 Sep 2004 08:22:17 +0000 (08:22 +0000)]
Add __nonnull where appropriate.

16 years agoDefine __nonnull using nonnull function attribute for gcc 3.3 and higher.
drepper [Fri, 17 Sep 2004 08:20:13 +0000 (08:20 +0000)]
Define __nonnull using nonnull function attribute for gcc 3.3 and higher.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 00:56:07 +0000 (00:56 +0000)]
Update.

16 years agoRemove cruft to make header usable outside glibc. The maintenance
drepper [Fri, 17 Sep 2004 00:55:15 +0000 (00:55 +0000)]
Remove cruft to make header usable outside glibc.  The maintenance
headache is too big.

16 years ago.
drepper [Fri, 17 Sep 2004 00:05:36 +0000 (00:05 +0000)]
.

16 years agoUpdate.
drepper [Fri, 17 Sep 2004 00:04:18 +0000 (00:04 +0000)]
Update.

16 years agoForward definition of struct nscd_ai_result.
drepper [Fri, 17 Sep 2004 00:03:45 +0000 (00:03 +0000)]
Forward definition of struct nscd_ai_result.

16 years agoTransmit and print AVC statistics.
drepper [Fri, 17 Sep 2004 00:03:02 +0000 (00:03 +0000)]
Transmit and print AVC statistics.