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

16 years ago(main): Initialize selinux_enabled and stop avc thread.
drepper [Fri, 17 Sep 2004 00:02:26 +0000 (00:02 +0000)]
(main): Initialize selinux_enabled and stop avc thread.

16 years ago(handle_request): Check access SELinux permissions before processing request.
drepper [Fri, 17 Sep 2004 00:01:46 +0000 (00:01 +0000)]
(handle_request): Check access SELinux permissions before processing request.

16 years agoCorrect copyright header.
drepper [Thu, 16 Sep 2004 23:59:44 +0000 (23:59 +0000)]
Correct copyright header.

16 years ago(nscd-modules): Add selinux.
drepper [Thu, 16 Sep 2004 23:58:55 +0000 (23:58 +0000)]
(nscd-modules): Add selinux.
(CFLAGS-selinux.c): Add -fpie.
Define selinux-LIBS and use in link line.

16 years agoSELinux support functionality for nscd.
drepper [Thu, 16 Sep 2004 23:57:25 +0000 (23:57 +0000)]
SELinux support functionality for nscd.

16 years agoAdd HAVE_SELINUX entry.
drepper [Thu, 16 Sep 2004 23:55:55 +0000 (23:55 +0000)]
Add HAVE_SELINUX entry.

16 years agoAdd have-selinux entry.
drepper [Thu, 16 Sep 2004 23:55:25 +0000 (23:55 +0000)]
Add have-selinux entry.

16 years agoRegenerated.
drepper [Thu, 16 Sep 2004 23:55:03 +0000 (23:55 +0000)]
Regenerated.

16 years agoAdd test for required SELinux features.
drepper [Thu, 16 Sep 2004 23:54:21 +0000 (23:54 +0000)]
Add test for required SELinux features.

16 years ago.
roland [Thu, 16 Sep 2004 23:23:25 +0000 (23:23 +0000)]
.

16 years ago2004-09-10 Roland McGrath <roland@redhat.com>
roland [Thu, 16 Sep 2004 23:23:21 +0000 (23:23 +0000)]
2004-09-10  Roland McGrath  <roland@redhat.com>

[BZ #379]
* allocatestack.c (allocate_stack): Remove [__ASSUME_CLONE_STOPPED]
code, since we don't try to use the broken CLONE_STOPPED any more.
* pthread_create.c (start_thread): Likewise.

16 years ago.
roland [Thu, 16 Sep 2004 23:22:20 +0000 (23:22 +0000)]
.

16 years ago2004-09-16 Roland McGrath <roland@redhat.com>
roland [Thu, 16 Sep 2004 23:22:04 +0000 (23:22 +0000)]
2004-09-16  Roland McGrath  <roland@redhat.com>

* configure.in (--with-headers): Let argument contain a : separated
list of directories to use, not just one.
* configure: Regenerated.

16 years agoiAdd __nscd_getai prototype.
drepper [Thu, 16 Sep 2004 22:54:54 +0000 (22:54 +0000)]
iAdd __nscd_getai prototype.

16 years agoInclude nscd_proto.h.
drepper [Thu, 16 Sep 2004 22:52:31 +0000 (22:52 +0000)]
Include nscd_proto.h.

16 years agoRemove __nscd_getai prorotype.
drepper [Thu, 16 Sep 2004 22:50:03 +0000 (22:50 +0000)]
Remove __nscd_getai prorotype.

16 years ago(CFLAGS-aicache.c): Set to -fpie.
drepper [Thu, 16 Sep 2004 22:46:31 +0000 (22:46 +0000)]
(CFLAGS-aicache.c): Set to -fpie.

16 years ago(__nscd_unmap, get_mapping): Use __munmap instead of munmap.
drepper [Thu, 16 Sep 2004 22:46:12 +0000 (22:46 +0000)]
(__nscd_unmap, get_mapping): Use __munmap instead of munmap.

16 years ago(gaih_inet): Check __nss_not_use_nscd_hosts variable if nscd should be
drepper [Thu, 16 Sep 2004 22:38:36 +0000 (22:38 +0000)]
(gaih_inet): Check __nss_not_use_nscd_hosts variable if nscd should be
used or not.

16 years agoRemode definition of NSS_NSCD_RETRY.
drepper [Thu, 16 Sep 2004 22:24:09 +0000 (22:24 +0000)]
Remode definition of NSS_NSCD_RETRY.

16 years agoDefine NSS_NSCD_RETRY.
drepper [Thu, 16 Sep 2004 22:23:26 +0000 (22:23 +0000)]
Define NSS_NSCD_RETRY.

16 years agoAdd support for SELinux environments.
drepper [Thu, 16 Sep 2004 21:59:12 +0000 (21:59 +0000)]
Add support for SELinux environments.

16 years ago * sysdeps/alpha/fpu/libm-test-ulps: Update.
rth [Wed, 15 Sep 2004 12:23:34 +0000 (12:23 +0000)]
    * sysdeps/alpha/fpu/libm-test-ulps: Update.
        * scripts/data/c++-types-alpha-linux-gnu.data: New file.

16 years ago * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
rth [Wed, 15 Sep 2004 12:22:08 +0000 (12:22 +0000)]
    * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.

16 years agoUpdate.
drepper [Wed, 15 Sep 2004 10:10:05 +0000 (10:10 +0000)]
Update.

16 years ago(getanswer_r): Take two new parameters.
drepper [Wed, 15 Sep 2004 10:09:51 +0000 (10:09 +0000)]
(getanswer_r): Take two new parameters.
If nonnull fill with TTL and pointer to canonical name respectively.
(_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r.
(_nss_dns_gethostbyname2_r): Just wrapper around
_nss_dns_gethostbyname3_r.
(_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r.
Take two new parameters which as passed to getanswer_r.

16 years agoExport _nss_dns_gethostbyname3_r from libnss_dns.
drepper [Wed, 15 Sep 2004 10:06:27 +0000 (10:06 +0000)]
Export _nss_dns_gethostbyname3_r from libnss_dns.

16 years agoPrefer using gethostbyname3_r NSS callback to also get ttl and
drepper [Wed, 15 Sep 2004 10:05:51 +0000 (10:05 +0000)]
Prefer using gethostbyname3_r NSS callback to also get ttl and
canonical name.  Use these two values.

16 years ago(addhstaiX): Fill in missing canonical name computation. Remove debug output.
drepper [Wed, 15 Sep 2004 08:51:53 +0000 (08:51 +0000)]
(addhstaiX): Fill in missing canonical name computation.  Remove debug output.

16 years ago(CFLAGS-getaddrinfo.c): Add -DUSE_NSCD.
drepper [Wed, 15 Sep 2004 08:27:51 +0000 (08:27 +0000)]
(CFLAGS-getaddrinfo.c): Add -DUSE_NSCD.

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

16 years agoUpdate.
drepper [Wed, 15 Sep 2004 08:25:49 +0000 (08:25 +0000)]
Update.

16 years agoAdd support for using cached results.
drepper [Wed, 15 Sep 2004 08:25:32 +0000 (08:25 +0000)]
Add support for using cached results.

16 years agoDeclare addhstai and readdhstai.
drepper [Wed, 15 Sep 2004 08:24:17 +0000 (08:24 +0000)]
Declare addhstai and readdhstai.

16 years agoAdd getaddrinfo definition to catch problems.
drepper [Wed, 15 Sep 2004 08:23:15 +0000 (08:23 +0000)]
Add getaddrinfo definition to catch problems.

16 years ago(request_type): Add GETAI.
drepper [Wed, 15 Sep 2004 08:22:38 +0000 (08:22 +0000)]
(request_type): Add GETAI.
Define ai_response_header and struct nscd_ai_result types.
(struct datahead): Add aidata field.
Declare __nscd_getai.

(struct datahead): Use uint8_t instead of bool.

16 years agoAdd GETAI support in request handling.
drepper [Wed, 15 Sep 2004 08:20:29 +0000 (08:20 +0000)]
Add GETAI support in request handling.

16 years ago(prune_cache): Handle GETAI request type.
drepper [Wed, 15 Sep 2004 08:19:36 +0000 (08:19 +0000)]
(prune_cache): Handle GETAI request type.

16 years ago(rountines): Add nscd_getai.
drepper [Wed, 15 Sep 2004 08:18:56 +0000 (08:18 +0000)]
(rountines): Add nscd_getai.
(nscd-modules): Add aicache.

16 years agoaddrinfo cache handling in libc.
drepper [Wed, 15 Sep 2004 08:18:29 +0000 (08:18 +0000)]
addrinfo cache handling in libc.

16 years agoaddrinfo cache handling in nscd.
drepper [Wed, 15 Sep 2004 08:18:01 +0000 (08:18 +0000)]
addrinfo cache handling in nscd.

16 years agoNo special __P and __PMT definitions for gcc.
drepper [Tue, 14 Sep 2004 18:37:28 +0000 (18:37 +0000)]
No special __P and __PMT definitions for gcc.

16 years agoUpdate.
drepper [Tue, 14 Sep 2004 18:05:52 +0000 (18:05 +0000)]
Update.

16 years agoRemove debugging text from __P and __PMT.
drepper [Tue, 14 Sep 2004 18:05:13 +0000 (18:05 +0000)]
Remove debugging text from __P and __PMT.

16 years agoUpdate.
drepper [Tue, 14 Sep 2004 04:41:35 +0000 (04:41 +0000)]
Update.

16 years agoRemove uses of __P and __PMT.
drepper [Tue, 14 Sep 2004 04:24:44 +0000 (04:24 +0000)]
Remove uses of __P and __PMT.