about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2004-09-193-16/+47
| | | | | | | * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag from memory. * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to __stack_flags.
* Update.Ulrich Drepper2004-09-182-2/+10
| | | | | * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use gethostbyname3_r if we are not looking for the canonical name.
* Update.Ulrich Drepper2004-09-182-4/+12
| | | | | | | 2004-09-18 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): Return EAGAIN instead of ENOMEM when out of memory.
* Update.Ulrich Drepper2004-09-181-0/+5
| | | | | | | 2004-09-18 Ulrich Drepper <drepper@redhat.com> * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every time.
* (res_nmkquery): Randomize request ID every time.Ulrich Drepper2004-09-181-4/+32
|
* * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument toRoland McGrath2004-09-181-0/+5
| | | | system call.
* 2004-09-18 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-181-1/+3
| | | | | * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to system call.
* Encodings without iconv support.Ulrich Drepper2004-09-181-0/+66
|
* Update.Ulrich Drepper2004-09-187-5/+74
| | | | | | | | | | | | | | | 2004-09-17 Ulrich Drepper <drepper@redhat.com> * include/link.h (struct link_map): Add l_used element. * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_UNUSED. * elf/rtld.c (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. * elf/dl-lookup.c (_dl_lookup_symbol_x): Mark object in which the symbol has been found as used. * elf/ldd.bash.in: Add -u option.
* [BZ #390]Ulrich Drepper2004-09-174-8/+30
| | | | | | | | | | | | | Update. 2004-09-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): Do nothing if __NR_set_tid_address is not defined. [BZ #390] 2004-09-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Use gethostbyname3_r NSS function in case it is available.
* Update.Ulrich Drepper2004-09-172-1/+6
| | | | | | | 2004-09-17 Jakub Jelinek <jakub@redhat.com> * nscd/nscd.c (parse_opt): Write arg string instead of (void *) key to the socket.
* Update.Ulrich Drepper2004-09-174-15/+23
| | | | | | * catgets/nl_types.h: Likewise. * crypt/crypt.h: Likewise. * debug/execinfo.h: Likewise.
* Update.Ulrich Drepper2004-09-1711-90/+176
| | | | | | | | | | | | | | | | 2004-09-17 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Define __nonnull using nonnull function attribute for gcc 3.3 and higher. * io/fcntl.h: Add __nonnull where appropriate. * io/ftw.h: Likewise. * io/utime.h: Likewise. * io/sys/poll.h: Likewise. * io/sys/sendfile.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statfs.h: Likewise. * io/sys/statvfs.h: Likewise. * posix/unistd.h: Likewise.
* Update.Ulrich Drepper2004-09-172-41/+26
| | | | | * posix/glob.h: Remove cruft to make header usable outside glibc. The maintenance headache is too big.
* Patch mostly by Matthew Rickard <mjricka@epoch.ncsc.mil>.Ulrich Drepper2004-09-171-0/+1
|
* Update.Ulrich Drepper2004-09-1711-2/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-16 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for required SELinux features. * config.make.in: Add have-selinux entry. * config.h.in: Add HAVE_SELINUX entry. * nscd/Makefile (nscd-modules): Add selinux. (CFLAGS-selinux.c): Add -fpie. Define selinux-LIBS and use in link line. * nscd/connections.c (handle_request): Check access SELinux permissions before processing request. * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. * nscd/nscd_stat.c: Transmit and print AVC statistics. * nscd/selinux.c: New file. * nscd/selinux.h: New file. 2004-09-16 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap instead of munmap. * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. 2004-09-16 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/getaddrinfo.c (gaih_inet): Check __nss_not_use_nscd_hosts variable if nscd should be used or not. 2004-09-16 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. Add __nscd_getai prototype. * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. * nscd/nscd-client.h: Remove __nscd_getai prototype. * nscd/nscd_getai.c: Include nscd_proto.h. * elf/ldd.bash.in: Add support for SELinux environments. Patch by Stephen Smalley <sds@epoch.ncsc.mil>.
* Add test for required SELinux features.Ulrich Drepper2004-09-161-0/+41
|
* * configure.in (--with-headers): Let argument contain a : separatedRoland McGrath2004-09-164-17/+15
| | | | | list of directories to use, not just one. * configure: Regenerated.
* 2004-09-16 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-162-2/+4
| | | | | | * configure.in (--with-headers): Let argument contain a : separated list of directories to use, not just one. * configure: Regenerated.
* iAdd __nscd_getai prototype.Ulrich Drepper2004-09-167-65/+73
|
* Add support for SELinux environments.Ulrich Drepper2004-09-161-1/+4
|
* * sysdeps/alpha/fpu/libm-test-ulps: Update. * ↵Richard Henderson2004-09-153-9/+68
| | | | | | | | | scripts/data/c++-types-alpha-linux-gnu.data: New file. 2004-09-15 Richard Henderson <rth@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Update. * scripts/data/c++-types-alpha-linux-gnu.data: New file.
* * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.Richard Henderson2004-09-152-1/+5
| | | | | | 2004-09-15 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
* Update.Ulrich Drepper2004-09-155-36/+115
| | | | | | | | | | | | | * nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also get ttl and canonical name. Use these two values. * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns. * resolv/nss_dns/dns-host.c (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.
* Update.Ulrich Drepper2004-09-151-0/+1
| | | | * posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD.
* Update.Ulrich Drepper2004-09-1511-30/+863
| | | | | | | | | | | | | | | | | | | | | 2004-09-15 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (rountines): Add nscd_getai. (nscd-modules): Add aicache. * nscd/aicache.c: New file. * nscd/nscd_getai.c: New file. * nscd/cache.c (prune_cache): Handle GETAI request type. * nscd/connections.c: Add GETAI support in request handling. * nscd/nscd-client.h (request_type): Add GETAI. Define ai_response_header and struct nscd_ai_result types. (struct datahead): Add aidata field. Declare __nscd_getai. * nscd/nscd.c: Add getaddrinfo definition to catch problems. * nscd/nscd.h: Declare addhstai and readdhstai. * sysdeps/posix/getaddrinfo.c: Add support for using cached results. * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool.
* Update.Ulrich Drepper2004-09-142-2/+6
| | | | | | 2004-09-14 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Remove debugging text from __P and __PMT.
* Update.Ulrich Drepper2004-09-1483-992/+887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-13 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Restore old definition of __P. * csu/munch.awk: Remove uses of __P and __PMT. * gmon/gmon.c: Likewise. * hesiod/hesiod.h: Likewise. * include/stdio.h: Likewise. * io/fts.c: Likewise. * libio/genops.c: Likewise. * libio/libioP.h: Likewise. * libio/fileops.c: Likewise. * libio/iolibio.h: Likewise. * libio/libio.h: Likewise. * libio/memstream.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldstdfiles.c: Likewise. * libio/iopopen.c: Likewise. * libio/vsnprintf.c: Likewise. * libio/vswprintf.c: Likewise. * libio/wgenops.c: Likewise. * libio/oldiopopen.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/mtrace.c: Likewise. * misc/getttyent.c: Likewise. * misc/getusershell.c: Likewise. * nis/rpcsvc/ypupd.h: Likewise. * posix/fnmatch.h: Likewise. * posix/glob.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/resolv.h: Likewise. * resolv/inet_net_ntop.c: Likewise. * resolv/inet_net_pton.c: Likewise. * resolv/res_init.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdio-common/reg-printf.c: Likewise. * sysdeps/generic/chflags.c: Likewise. * sysdeps/generic/fchflags.c: Likewise. * sysdeps/generic/glob.c: Likewise. * sysdeps/generic/printf_fphex.c: Likewise. * sysdeps/generic/memcmp.c: Likewise. * sysdeps/generic/memcopy.h: Likewise. * sysdeps/generic/morecore.c: Likewise. * sysdeps/generic/sstk.c: Likewise. * sysdeps/posix/sigvec.c: Likewise. * sysdeps/posix/ttyname_r.c: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/standalone.h: Likewise. * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. * sysdeps/unix/arm/start.c: Likewise. * sysdeps/unix/bsd/sigaction.c: Likewise. * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. * sysdeps/unix/sparc/start.c: Likewise. * sysdeps/unix/sysv/getdents.c: Likewise. * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. * time/tzset.c: Likewise. * time/strftime_l.c: Likewise. * time/strptime_l.c: Likewise. * crypt/md5.h: Likewise.
* Regenerated: autoconf configure.inUlrich Drepper2004-09-141-1/+166
|
* * configure.in: Support GCC 4.x.Roland McGrath2004-09-131-0/+5
| | | | * configure: Regenerated.
* 2004-09-13 Andreas Jaeger <aj@suse.de>Roland McGrath2004-09-132-2/+2
| | | | | * configure.in: Support GCC 4.x. * configure: Regenerated.
* Update.Ulrich Drepper2004-09-136-2/+387
| | | | | | | | | | | | | 2004-09-01 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h (__libc_unwind_longjmp): Delete macro and declare as function. * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_routines): Mention __ia64_longjmp, sigstack_longjmp, and __sigstack_longjmp for nptl directory. * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: New file. * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: New file. * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: New file.
* Update.Ulrich Drepper2004-09-134-16/+26
| | | | | | | | 2004-09-13 Thorsten Kukuk <kukuk@suse.de> * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services. * nscd/nscd.init: Fix path to socket.
* UPdate.Ulrich Drepper2004-09-132-2/+7
| | | | | * nscd/nscd_helper.c (get_mapping): Correctly check cmsg length. Avoid file descriptor leak in case of size mismatch.
* Update.Ulrich Drepper2004-09-132-5/+7
| | | | * nscd/mem.c (gc): Add casts to avoid warnings.
* Update.Ulrich Drepper2004-09-132-28/+34
| | | | * nscd/nscd-client.h: Fix database structure layout for biarch.
* Update.Ulrich Drepper2004-09-132-37/+60
| | | | | | | | | 2004-09-12 Ulrich Drepper <drepper@redhat.com> * nss/getent.c: Don't preconstruct help message. Do it only when needed. * locale/programs/locale.c: Simplify help message printing.
* Simplify help message printing.Ulrich Drepper2004-09-131-21/+4
|
* (init1): fix one more nit in last changeRoland McGrath2004-09-131-4/+4
|
* * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add declsRoland McGrath2004-09-121-0/+5
| | | | missing in last change.
* 2004-09-12 Roland McGrath <roland@frob.com>Roland McGrath2004-09-121-0/+4
| | | | | * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls missing in last change.
* Update.Ulrich Drepper2004-09-126-106/+148
| | | | | | | | | | 2004-09-11 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-grp.c: Check that buflen is greater zero before writing data into the buffer with negative offset. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c Likewise.
* [BZ #365]Ulrich Drepper2004-09-1216-45/+83
| | | | | | | | | Update. * misc/syslog.c (vsyslog): Fix copying of PID in case of out-of-memory situation. [BZ #365]. * sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of __THROW in inline function definitions.
* Update.Ulrich Drepper2004-09-124-8/+33
| | | | | | | | * posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK. * posix/spawnattr_setflags.c: Check whether any unknown bit is set in FLAGS parameter and fail if this is the case. * sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is set.
* Update.Ulrich Drepper2004-09-123-1/+27
| | | | | | | | 2004-09-12 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/hstcache.c (cache_addhst): Likewise.
* (cache_addhst): Sync also negative results to disk.Ulrich Drepper2004-09-121-6/+15
|
* * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]:Roland McGrath2004-09-112-22/+44
| | | | | Set _dl_phdr and _dl_phnum. (init1): When bootstrap task, bail early and never examine *D.
* * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:Roland McGrath2004-09-111-0/+5
| | | | Cast THR, SEL and DESC to `void'.
* 2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>Roland McGrath2004-09-111-1/+1
| | | | | * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]: Cast THR, SEL and DESC to `void'.
* Update.Ulrich Drepper2004-09-112-1/+4
| | | | | * nscd/connections.c (nscd_run): Call setup_thread only for enabled databases.