summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * nis/nss-default.c (vars): Add SETENT_BATCH_READ.Ulrich Drepper2006-04-287-91/+474
| | | | | | | | | | | | | * nis/nss: Document SETENT_BATCH_READ. * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the string is already NUL terminated. (internal_nis_endservent): No need to return anything. Change callers. (internal_nis_setservent): One more initialization. * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss-default.c (init): Rewrite parser to get the variables
* * nis/nss-default.c (init): Rewrite parse to get the variablesUlrich Drepper2006-04-282-17/+26
| | | | from a table.
* * nis/nss_nis/nis-service.c: Avoid passing pointer to staticUlrich Drepper2006-04-282-40/+104
| | | | | variable around. Reduce number of memory allocations by creating list of memory pools.
* * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in stringUlrich Drepper2006-04-283-7/+21
| | | | handling. Fix typo in comment.
* * nscd/connections.c (restart): If we want to switch back to the cvs/fedora-glibc-20060427T2122Ulrich Drepper2006-04-272-4/+10
| | | | | old ID use setresuid and setresgid. (finish_drop_privileges): Likewise.
* * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):Ulrich Drepper2006-04-272-7/+35
| | | | | Allocate new object which is passed to timer_sigev_thread so that the timer can be deleted before the new thread is scheduled.
* * nscd/nscd.conf: Fix a typo.Ulrich Drepper2006-04-272-1/+5
|
* [BZ #2611]Ulrich Drepper2006-04-272-2/+7
| | | | | | 2006-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #2611] * stdio-common/renameat.c (renameat): Fix typo.
* [BZ #1386]Ulrich Drepper2006-04-274-28/+13
| | | | | | * iconvdata/ibm932.c: Change mapping to allow round-trips. * iconvdata/ibm943.c: Likewise. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
* Allow inclusion from <fcntl.h>.Ulrich Drepper2006-04-271-1/+1
|
* * Makeconfig (%.v.i rule): Don't use -DASSEMBLER.Roland McGrath2006-04-273-2/+11
| | | | The predefined __ASSEMBLER__ is sufficient.
* 2006-04-26 Roland McGrath <roland@redhat.com>Roland McGrath2006-04-271-2/+1
| | | | | * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. The predefined __ASSEMBLER__ is sufficient.
* * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.Ulrich Drepper2006-04-2611-6/+76
| | | | | | | | | | | | | | * 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.
* Fix a typo in a comment.Ulrich Drepper2006-04-261-2/+2
|
* fix wrong file namesRoland McGrath2006-04-261-7/+7
| | | | | | | | | * locales/bg_BG: Update after iso-4217.def update. * locales/bs_BA: Likewise. * locales/es_MX: Likewise. * locales/ru_RU: Likewise. * locales/tg_TJ: Likewise. * locales/tt_RU: Likewise.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused cvs/fedora-glibc-20060426T2000Ulrich Drepper2006-04-262-1/+4
| | | | bugs not to be reported.
* * nscd/nscd.h (struct database_dyn): Add propagate field.Ulrich Drepper2006-04-267-17/+52
| | | | | | | | | * 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 James Antill <james.antill@redhat.com>Ulrich Drepper2006-04-268-4/+214
| | | | | | | | | | | | | | 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.
* * locale/iso-4217.def: Update.Ulrich Drepper2006-04-269-13/+27
|
* [BZ #2420]Ulrich Drepper2006-04-266-23/+76
| | | | | | * 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.
* [BZ #2571]Ulrich Drepper2006-04-253-7/+15
| | | | | | | | | * 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
* * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define toUlrich Drepper2006-04-252-1/+4
| | | | 200112L.
* * resolv/res_hconf.c: Minor surgery to 'cmd' and the referencedUlrich Drepper2006-04-252-26/+35
| | | | functions to avoid relocations.
* [BZ #2389]Ulrich Drepper2006-04-254-122/+73
| | | | | | | | * 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.
* [BZ #2386]Ulrich Drepper2006-04-253-3/+14
| | | | | | | | | | * 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.
* [BZ #2072]Ulrich Drepper2006-04-252-7/+31
| | | | | * stdio-common/printf_fp.c: Fix potential memory leaks for malloc'ed wbuffer isn't freed in error conditions.
* [BZ #2569]Ulrich Drepper2006-04-254-3/+47
| | | | | | | | | 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.
* * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags cvs/fedora-glibc-20060425T0903Ulrich Drepper2006-04-243-0/+9
| | | | | field. * posix/tst-rfc3484-2.c (do_test): Likewise.
* * posix/tst-rfc3484.c: Include <ifaddrs.h> early.Ulrich Drepper2006-04-243-0/+5
| | | | * posix/tst-rfc3484-2.c: Likewise.
* * version.h (VERSION): Bunp to 2.4.90 for the trunk.Ulrich Drepper2006-04-242-1/+5
|
* * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init cvs/fedora-glibc-20060424T2027Ulrich Drepper2006-04-242-2/+7
| | | | if MALLOC_CHECK_ env var contains an empty string.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.Ulrich Drepper2006-04-242-1/+5
|
* * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): UseUlrich Drepper2006-04-242-3/+7
| | | | __LONG_LONG_PAIR macro.
* * posix/bits/unistd.h (__readlinkat_chk): New prototype.Ulrich Drepper2006-04-249-5/+107
| | | | | | | | | | | | | | | | | (__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.
* [BZ #2349] cvs/fedora-glibc-20060424T0820Ulrich Drepper2006-04-242-2/+7
| | | | | | 2006-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #2349] * locales/de_CH: Change thousand separator to '.
* [BZ #2158]Ulrich Drepper2006-04-246-11/+289
| | | | | | | | | | 2006-01-17 Robert Millan <robertmh@gnu.org> [BZ #2158] * SUPPORTED: Add ca_AD, ca_FR and ca_IT variants. * locales/ca_AD: New file. * locales/ca_FR: New file. * locales/ca_IT: New file.
* [BZ #2134]Ulrich Drepper2006-04-243-0/+192
| | | | | * locales/pa_PK: New file. * SUPPORTED: Add pa_PK.UTF-8.
* [BZ #1974]Ulrich Drepper2006-04-247-113/+164
| | | | | | | | | | | | | | | | | | | | * locales/vi_VN: Fix int_frac_digits/frac_digits, abmon, mon, d_t_fmt, am_pm, and name_fmt. [BZ #1787] * locales/en_ZA: Updates. [BZ #1786] * locales/af_ZA: Updates. [BZ #1785] * locales/st_ZA: Updates and formatting changes. [BZ #1784] * locales/zu_ZA: Updates and formatting changes. [BZ #1783] * locales/xh_ZA: Updates and formatting changes.
* * nis/nss_nisplus/nisplus-netgrp.c: Cleanups.Ulrich Drepper2006-04-245-7/+297
| | | | | * posix/regex.h: Remove obsolete <sys/types.h> comment and special code if possible. Move compatibility code in .text.compat section.
* [BZ #1951]Ulrich Drepper2006-04-234-9/+211
| | | | | | | | | 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.
* * argp/argp.h (__option_is_short): Check upper limit ofUlrich Drepper2006-04-222-2/+10
| | | | | | __key. isprint() requires its argument to have the value of an unsigned char or EOF. Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
* [BZ #2534, BZ #2535]Ulrich Drepper2006-04-212-10/+5
| | | | | * posix/regex.h: Remove obsolete <sys/types.h> and special handling for VMS.
* * iconvdata/ibm437.c: Define HAS_HOLES to 0.Ulrich Drepper2006-04-216-10/+19
| | | | | | | | * iconvdata/ibm861.c: Likewise. * iconvdata/ibm862.c: Likewise. * iconvdata/ibm863.c: Likewise. * iconvdata/ibm865.c: Likewise. Reported by <ash@contact.bg>.
* * include/ifaddrs.h: Get uint32_t definition.Ulrich Drepper2006-04-204-2/+11
| | | | | * posix/tst-rfc3484.c: Update fake __check_pf implementation. * posix/tst-rfc3484-2.c: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2006-04-194-22/+53
| | | | | | | __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.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loopUlrich Drepper2006-04-183-6/+45
| | | | over gaih array. There is only on function to call in the moment.
* * include/ifaddrs.h: Define struct in6addrinfo.Ulrich Drepper2006-04-166-39/+221
| | | | | | | | | | | | | | | | | 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.
* * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6Ulrich Drepper2006-04-154-2/+133
| | | | | | mapped addresses. * posix/Makefile (tests): Add tst-rfc3484-2. * posix/tst-rfc3484-2.c: New file.
* * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):Ulrich Drepper2006-04-152-39/+43
| | | | | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
* * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):Ulrich Drepper2006-04-153-36/+43
| | | | | Significant cleanups. Correct adjustment for pointer array. Likewise.