Ulrich Drepper
b8c8817c81
* nscd/nscd.conf: Fix a typo.
2006-04-27 14:48:29 +00:00
Ulrich Drepper
b9af3620d4
[BZ #2611 ]
...
2006-04-27 Ulrich Drepper <drepper@redhat.com>
[BZ #2611 ]
* stdio-common/renameat.c (renameat): Fix typo.
2006-04-27 14:32:13 +00:00
Ulrich Drepper
15627a21c6
[BZ #1386 ]
...
* iconvdata/ibm932.c: Change mapping to allow round-trips.
* iconvdata/ibm943.c: Likewise.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
2006-04-27 05:54:27 +00:00
Roland McGrath
16a1d952b6
* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
...
The predefined __ASSEMBLER__ is sufficient.
2006-04-27 01:25:47 +00:00
Ulrich Drepper
c8c3ab914e
* sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.
...
* sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.
2006-04-26 22:29:43 +00:00
Ulrich Drepper
105a492d4d
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
...
bugs not to be reported.
2006-04-26 19:36:15 +00:00
Ulrich Drepper
797ed6f7e1
* nscd/nscd.h (struct database_dyn): Add propagate field.
...
* nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines.
* nscd/nscd.conf: Add auto-propagate lines.
* nscd/connections.c (dbs): Initialize .propagate fields.
* nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups
and vice versa if propagation is disabled for the database.
* nscd/pwdcache.c (cache_addpw): Likewise.
2006-04-26 17:32:10 +00:00
Ulrich Drepper
1f063dcadb
2006-04-26 James Antill <james.antill@redhat.com>
...
Ulrich Drepper <drepper@redhat.com>
* config.make.in: Add have-libcap.
* configure.in: Check for libcap.
* nscd/Makefile (selinux-LIBS): Add -lcap if possible.
* nscd/connections.c (finish_drop_privileges): When libcap is available
call preserve_capabilities and install_real_capabilities.
* nscd/selinux.c: Define preserve_capabilities and
install_real_capabilities.
* nscd/selinux.h: Declare preserve_capabilities and
install_real_capabilities.
2006-04-26 16:29:29 +00:00
Ulrich Drepper
cf86bbe6da
* locale/iso-4217.def: Update.
2006-04-26 07:21:15 +00:00
Ulrich Drepper
c61a9cfbc4
[BZ #2420 ]
...
* stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier.
* localedata/Makefile: Add rules to build and run tst-strfmon1.
* localedata/tst-strfmon1.c: New file.
2006-04-26 05:52:58 +00:00
Ulrich Drepper
388df58d9b
[BZ #2571 ]
...
* nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a
volatile pointer so that the mapptr->mapped value is re-read after
the lock is retrieved.
* nscd/nscd-client.h: Update __nscd_get_map_ref prototype.
* sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack
2006-04-25 23:50:31 +00:00
Ulrich Drepper
5178e13aa2
* include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
...
200112L.
2006-04-25 20:37:04 +00:00
Ulrich Drepper
bc05436748
* resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced
...
functions to avoid relocations.
2006-04-25 20:09:28 +00:00
Ulrich Drepper
b9c65d0902
[BZ #2389 ]
...
* resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line.
* resolv/res_hconf.h: Remove Name_Service definition.
(struct hconf): Replace service related fields with placeholders.
* version.h (VERSION): Bump to 2.4.90 for the trunk.
2006-04-25 19:46:41 +00:00
Ulrich Drepper
38027f90d4
[BZ #2386 ]
...
* sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stakc
pointers to match other architectures.
* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add
tst-clone.
* sysdeps/unix/sysv/linux/tst-clone.c: New file.
malloc'ed wbuffer which isn't freed in error conditions.
2006-04-25 19:14:45 +00:00
Ulrich Drepper
c7df983c08
[BZ #2072 ]
...
* stdio-common/printf_fp.c: Fix potential memory leaks for
malloc'ed wbuffer isn't freed in error conditions.
2006-04-25 18:40:37 +00:00
Ulrich Drepper
74ed1159d1
[BZ #2569 ]
...
2006-04-25 Ulrich Drepper <drepper@redhat.com>
[BZ #2569 ]
* iconv/gconv_db.c (__gconv_release_step): Fix condition of assert
call.
* iconvdata/Makefile (tests): Add tst-iconv6.
* iconvdata/tst-iconv6.c: New file.
2006-04-25 17:47:32 +00:00
Ulrich Drepper
bdefc84c58
* posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags
...
field.
* posix/tst-rfc3484-2.c (do_test): Likewise.
2006-04-24 23:02:03 +00:00
Ulrich Drepper
4c5bc8287b
* posix/tst-rfc3484.c: Include <ifaddrs.h> early.
...
* posix/tst-rfc3484-2.c: Likewise.
2006-04-24 21:11:34 +00:00
Ulrich Drepper
bb0b186dd3
* version.h (VERSION): Bunp to 2.4.90 for the trunk.
2006-04-24 21:00:04 +00:00
Ulrich Drepper
ceba6be798
* malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
...
if MALLOC_CHECK_ env var contains an empty string.
2006-04-24 17:26:23 +00:00
Ulrich Drepper
cf6ada44a2
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
2006-04-24 17:21:40 +00:00
Ulrich Drepper
589abe9337
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
...
__LONG_LONG_PAIR macro.
2006-04-24 17:09:55 +00:00
Ulrich Drepper
a346370d58
* posix/bits/unistd.h (__readlinkat_chk): New prototype.
...
(__readlinkat_alias): New alias.
(readlinkat): New inline function.
* include/unistd.h (readlinkat): Add libc_hidden_proto.
* sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add
libc_hidden_def.
* io/readlinkat.c (readlinkat): Likewise.
* debug/readlinkat_chk.c: New file.
* debug/Makefile (routines): Add readlinkat_chk.
* debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5.
* debug/tst-chk1.c (do_test): Add readlinkat tests.
* nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
code is possible. Move compatibility code in .text.compat section.
over gaih array. There is only one function to call in the moment.
2006-04-24 17:01:40 +00:00
Ulrich Drepper
23948bda4b
* nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
...
* posix/regex.h: Remove obsolete <sys/types.h> comment and special
code if possible. Move compatibility code in .text.compat section.
2006-04-24 04:36:38 +00:00
Ulrich Drepper
727a6832f0
[BZ #1951 ]
...
2006-04-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1951 ]
* sysdeps/posix/sigset.c (sigset): Return correct value reflecting
previous signal state.
* signal/Makefile (tests): Add tst-sigset2.
* signal/tst-sigset2.c: New file.
2006-04-23 19:05:33 +00:00
Ulrich Drepper
9055724a92
* argp/argp.h (__option_is_short): Check upper limit of
...
__key. isprint() requires its argument to have the value
of an unsigned char or EOF.
Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
2006-04-22 15:10:30 +00:00
Ulrich Drepper
41a3975907
[BZ #2534 , BZ #2535 ]
...
* posix/regex.h: Remove obsolete <sys/types.h> and special
handling for VMS.
2006-04-21 18:24:53 +00:00
Ulrich Drepper
71eea58162
* iconvdata/ibm437.c: Define HAS_HOLES to 0.
...
* iconvdata/ibm861.c: Likewise.
* iconvdata/ibm862.c: Likewise.
* iconvdata/ibm863.c: Likewise.
* iconvdata/ibm865.c: Likewise.
Reported by <ash@contact.bg>.
2006-04-21 18:18:58 +00:00
Ulrich Drepper
86e0544901
* include/ifaddrs.h: Get uint32_t definition.
...
* posix/tst-rfc3484.c: Update fake __check_pf implementation.
* posix/tst-rfc3484-2.c: Likewise.
2006-04-20 06:27:35 +00:00
Ulrich Drepper
f9d07577ce
* sysdeps/unix/sysv/linux/kernel-features.h: Define
...
__ASSUME_PROC_SELF_FD_SYMLINK.
* sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility
code is possible. Move compatibility code in .text.compat section.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2006-04-19 07:27:58 +00:00
Ulrich Drepper
786dcb6287
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
...
over gaih array. There is only on function to call in the moment.
2006-04-18 23:35:12 +00:00
Ulrich Drepper
3af48b5b31
* include/ifaddrs.h: Define struct in6addrinfo.
...
Add two more parameters to __check_pf.
* sysdeps/unix/sysv/linux/check_pf.c: When using the netlink
interface, determine whether IPv6 addresses are deprecated or
temporary. Create array of those addresses.
* inet/check_pf.c: Always tell caller there are no depracated
and temporary addresses.
* sysdeps/posix/getaddrinfo.c: Pretty printing.
(struct sort_result): Add source_addr_flags field.
(rfc3484_sort): Implement rule 3 and 7.
(in6aicmp): New function.
(getaddrinfo): Call __check_pf also when we need info about IPv6
source addresses. When creating array for sorting addresses,
look up deprecated and temporary addresses returned by __check_pf
and add flag if necessary.
2006-04-16 21:34:32 +00:00
Ulrich Drepper
a238728234
* sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6
...
mapped addresses.
* posix/Makefile (tests): Add tst-rfc3484-2.
* posix/tst-rfc3484-2.c: New file.
2006-04-15 21:43:13 +00:00
Ulrich Drepper
47ad422ffe
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
...
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
Likewise.
2006-04-15 18:07:00 +00:00
Ulrich Drepper
0944b9e1f0
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
...
Significant cleanups. Correct adjustment for pointer array.
Likewise.
2006-04-15 17:52:52 +00:00
Ulrich Drepper
004c621963
* nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout.
2006-04-15 17:40:08 +00:00
Ulrich Drepper
38c2f8bc62
* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
...
Significant cleanups. Correct adjustment for pointer array
Likewise.
2006-04-15 17:27:11 +00:00
Ulrich Drepper
f514f94584
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
...
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
Likewise.
2006-04-15 17:11:28 +00:00
Ulrich Drepper
840094b5f4
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
...
Significant cleanups. Correct adjustment for pointer array.
2006-04-15 16:22:13 +00:00
Ulrich Drepper
fd0262a4ed
* sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.
...
* sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2006-04-14 21:57:20 +00:00
Ulrich Drepper
1620084c4e
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent):
...
Minor cleanups. NUL terminate name string.
* nis/Versions: No need to export _nss_nisplus_parse_grent,
_nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent.
2006-04-14 21:30:52 +00:00
Ulrich Drepper
3fc044a113
* nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent):
...
Avoid unnecessary allocation. Fix adjustment for pointer value.
2006-04-14 20:39:47 +00:00
Ulrich Drepper
0433a3502d
* nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_*
...
macros. Avoid unnecessary allocation.
2006-04-14 15:26:13 +00:00
Ulrich Drepper
de18918f84
* sysdeps/unix/sysv/linux/sync_file_range.c: New file.
2006-04-14 08:09:08 +00:00
Ulrich Drepper
433f49c402
* nis/Makefile (libnsl-routimes): Add nss-default.
...
* nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss.
* nis/nss-nis.c: Move /etc/default/nss handling to...
* nis/nss-default.c: ...here. New file.
* nis/libnsl.h: New file.
* nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss
plus auxilary definitions.
* nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of
_nis_default_nss.
* nis/nss_nis/nis-service.c: Likewise.
2006-04-07 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/fpu/bits/mathinline.h
[__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT.
(__ieee754_sqrt): Fix comment.
(__ieee754_sqrtf): Fix comment.
* sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment.
Check __CPU_HAS_FSQRT instead of dl_hwcap.
* sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
2006-04-14 05:51:51 +00:00
Ulrich Drepper
279d494b1d
* inet/inet_ntoa.c: Rewrite to use TLS instead of TSD.
2006-04-09 05:51:26 +00:00
Ulrich Drepper
ab9a9ff8a1
* nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling
...
it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
2006-04-09 02:45:24 +00:00
Ulrich Drepper
7960f2a704
* nis/nis_ping.c: Remove unnecessary conditionals before
...
nis_freeresult calls.
* nis/nis_ismember.c: Likewise.
2006-04-08 20:28:00 +00:00
Ulrich Drepper
0a21e40021
* elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.
...
Reported by genesh@comcast.net .
2006-04-08 19:52:13 +00:00