about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * nscd/nscd.c (main): Use error while process isn't running in the cvs/fedora-glibc-20050829T1854 cvs/fedora-glibc-20050824T0705Ulrich Drepper2005-08-243-92/+77
| | | | | | | | background, not dbg_log. * nscd/nscd_conf.c (nscd_parse_file): Likewise. Mark messages with _(). Unify testing for database name. * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
* * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):Ulrich Drepper2005-08-242-8/+5
| | | | | Use __sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID.
* * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.Ulrich Drepper2005-08-2313-26/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (dbs): Initialize max_db_size fields. (nscd_init): When mapping the database, use max_db_size as the mapping size even if it is bigger than the file size. * nscd/mem.c (mempool_alloc): When resizing the file make sure the limit in max_db_size is not exceeded. Don't use mremap, just posix_fallocate is enough (according to Linus). Use posix_fallocate correctly. * nscd/nscd.conf: Add max-db-size parameters. * nscd/nscd.h (struct database_dyn): Add max_db_size field. Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET. Temporarily define TEMP_FAILURE_RETRY_VAL here. * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter and add sanity checks for it. * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to send reply. * nscd/connection.c (writeall): Likewise. (handle_request): Likewise. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/hstcache.c (cache_addhst): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise. * nscd/nscd.c (parse_opt): Likewise. * nscd/nscd_stat.c (send_stats): Likewise. (receive_print_stats): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise.
* * sysdeps/unix/sysv/linux/Versions: Export Inotify_* syscalls.Ulrich Drepper2005-08-234-7/+25
|
* * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) byUlrich Drepper2005-08-228-100/+115
| | | | | | | | | | | | | | | | | | | sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t). Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine. * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise. * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply len by sizeof (wchar_t). * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise. * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise. Fix type of SRC argument. Pass &SRC rather than SRC to __mbsrtowcs. * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC to __wcsrtombs. * debug/tst-chk1.c: Include assert.h. (do_test): Change enough array from VLA into a fixed size array. Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro instead of print error details. Add several new tests. Kill some unused variable warnings.
* * resolv/res_send.c (Aerror): Fix printing IP address. cvs/fedora-glibc-20050822T0727Ulrich Drepper2005-08-222-2/+9
|
* * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.Ulrich Drepper2005-08-212-1/+7
|
* * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.Ulrich Drepper2005-08-209-116/+235
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-17 Robert Love <rml@novell.com> * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. 2005-08-19 Bruno Haible <bruno@clisp.org> * intl/localealias.c (read_alias_file): In case of failure, close the file descriptor and sort the array before returning. 2005-08-19 Ulrich Drepper <drepper@redhat.com> * malloc/Makefile: Link libmemusage.so with ld.so. * malloc/memusage.c: Use atomic operations for all counter and size computations. Handle thread stacks. * sysdeps/generic/memusage.h: Define memusage_cntr_t and memusage_size_t. * sysdeps/i386/i686/memusage.h: New file. * include/atomic.h: Define atomic_max and atomic_min. * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
* Add tests for mbstowcs and wcstombs.Ulrich Drepper2005-08-201-0/+36
|
* [BZ #1075, BZ #1112]Roland McGrath2005-08-191-0/+2
| | | | | | bz tags [BZ #1075] [BZ #1112]
* [BZ #1207]Roland McGrath2005-08-181-0/+5
| | | | | | 2005-08-17 Paul Eggert <eggert@cs.ucla.edu> [BZ #1207] * posix/regex.h: Remove spurious space-before-tab. From gnulib.
* [BZ #1207]Roland McGrath2005-08-181-1/+1
| | | | | | 2005-08-17 Paul Eggert <eggert@cs.ucla.edu> [BZ #1207] * posix/regex.h: Remove spurious space-before-tab. From gnulib.
* * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper2005-08-174-1/+91
| | | | | | sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
* * nscd/cache.c (prune_cache): Add more debug output. Only forUlrich Drepper2005-08-162-3/+30
| | | | debug level 3 and higher and very verbose.
* * nscd/cache.c (prune_cache): Use stat64 not stat.Ulrich Drepper2005-08-163-4/+9
| | | | * nscd/connections.c (nscd_init): Likewise.
* [BZ #1188]Ulrich Drepper2005-08-165-30/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se> [BZ #1188] * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check from (len > 0) to (len >= 0). 2005-08-16 Ulrich Drepper <drepper@redhat.com> * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable. Reported by Thomas Schwinge. 2005-08-15 Jakub Jelinek <jakub@redhat.com> * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly. 2005-08-16 Ulrich Drepper <drepper@redhat.com> * nss/getent.c (more_help): Use open_memstream instead of handling memory allocation ourselves. 2005-08-16 Jay Fenlason <fenlason@redhat.com> * nss/getent.c (parse_options): change the -s option to support {database}:{search} to override /etc/resolv.conf for only the specified database.
* * nscd/connections.c (main_loop_epoll): Pass NULL as eventUlrich Drepper2005-08-092-5/+6
| | | | argument for epoll_ctl(EPOLL_CTL_DEL) calls.
* * nscd/nscd_stat.c (receive_print_stats): Really print values ofUlrich Drepper2005-08-092-2/+14
| | | | thread number, paranoia, and restart interval the server is using.
* * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.Ulrich Drepper2005-08-093-3/+11
| | | | | * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk. * debug/vfprintf_chk.c: Add libc_hidden_def.
* Add libc_hidden_def.Ulrich Drepper2005-08-091-1/+2
|
* * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.Roland McGrath2005-08-091-0/+5
| | | | (__argp_failure): Likewise.
* 2005-08-08 Roland McGrath <roland@redhat.com>Roland McGrath2005-08-091-2/+2
| | | | | * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. (__argp_failure): Likewise.
* * nscd/cache.c (cache_add): Commit hash table and header to disk. cvs/fedora-glibc-20050808T2126Ulrich Drepper2005-08-081-0/+2
|
* (cache_add): Comment hash table and header to disk.Ulrich Drepper2005-08-081-1/+7
|
* * mach/shortcut.awk: Ignore `weak_alias' lines.Roland McGrath2005-08-081-0/+4
| | | | | | Reported by Alfred M. Szmidt <ams@gnu.org>. Reported by Alfred M. Szmidt <ams@gnu.org>.
* 2005-08-05 Roland McGrath <roland@redhat.com>Roland McGrath2005-08-081-0/+2
| | | | | * mach/shortcut.awk: Ignore `weak_alias' lines. Reported by Alfred M. Szmidt <ams@gnu.org>.
* * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.Ulrich Drepper2005-08-083-2/+9
| | | | * nscd/connections.c (nscd_init): Likewise.
* * stdio-common/fxprintf.c: Include libioP.h.Ulrich Drepper2005-08-082-0/+3
|
* * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,Ulrich Drepper2005-08-0810-87/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getdomainname): Add __NTH. * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): Likewise. (realpath): Likewise. Use __const instead of const. Add __restrict keywords. * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. * string/bits/string3.h (__memset_ichk): Likewise. (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, __strncat_ichk): Likewise. Use __const instead of const. (__stpncpy_chk): Use __const instead of const. (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. 2005-08-08 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move definitions to... * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. * nscd/connections.c (usekey): New enum. (check_use, verify_persistent_db): New functions. (nscd_init): If persistent database is corrupted, unlink it and recreate rather than falling back to non-persistent database. Call verify_persistent_db. Avoid overflows in total computation. 2005-08-08 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code better readable. Avoid passing var to loop function, it's not necessary at all.
* * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTROUlrich Drepper2005-08-0715-115/+130
| | | | definition.
* * timezone/checktab.awk: Update from tzcode2005k.Ulrich Drepper2005-08-061-0/+22
| | | | | | | | | | | | | | | | | | | | | * timezone/private.h: Likewise. * timezone/scheck.c: Likewise. * timezone/tzselect.ksh: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. * timezone/africa: Update from tzdata2005k. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/solar87: Likewise. * timezone/solar88: Likewise. * timezone/solar89: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise.
* Update from tzcode2005k.Ulrich Drepper2005-08-066-24/+108
|
* * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.Roland McGrath2005-08-052-2/+6
|
* [BZ #1137]Roland McGrath2005-08-043-4/+12
| | | | | | | | | | 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Use +=, not =, to append. Remove duplicate flags. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Likewise. Fix comments. [BZ #1137]
* [BZ #413, BZ #448]Roland McGrath2005-08-031-1/+2
| | | | | | bz tag [BZ #448] [BZ #413]
* [BZ #1137, BZ #1138]Roland McGrath2005-08-021-0/+3
| | | | | | | bz tags [BZ #1138] [BZ #1138] [BZ #1137]
* * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart systemUlrich Drepper2005-08-012-5/+15
| | | | call if it returned EINTR.
* helper variable into .data.rel.ro. Simplify the code. ExtendUlrich Drepper2005-07-312-8/+12
| | | | comment to explain prelinking.
* helper variable into .data.rel.ro. Remove unnecessary label.Ulrich Drepper2005-07-312-2/+2
|
* * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): MoveUlrich Drepper2005-07-311-0/+5
| | | | helper variable into .data.rel.ro.
* (elf_machine_load_address): Move helper variable into .data.rel.ro.Ulrich Drepper2005-07-311-1/+1
|
* Update.Andreas Jaeger2005-07-311-0/+4
| | | | | | 2005-07-31 Andreas Jaeger <aj@suse.de> * include/bits/syslog.h: New file.
* New file needed since we have misc/bits/syslog.h.Andreas Jaeger2005-07-311-0/+1
|
* * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the valueUlrich Drepper2005-07-302-7/+11
| | | | | up. We have more program header entries now and the note section was normally not loaded.
* * nis/nis_subr.c: Some minor code cleanups.Ulrich Drepper2005-07-302-15/+9
|
* * misc/bits/syslog.h: New file.Ulrich Drepper2005-07-306-20/+55
| | | | | | | | | | | | | * misc/sys/syslog.h: Include <bits/syslog.h> for fortification. * misc/Makefile (headers): Add bits/syslog.h. * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper functions.
* Fortification definitions for syslog functions.Ulrich Drepper2005-07-301-0/+39
|
* * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>. cvs/fedora-glibc-20050729T1531Roland McGrath2005-07-281-0/+4
|
* 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>Roland McGrath2005-07-281-0/+2
| | | | * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
* * nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.Ulrich Drepper2005-07-282-2/+6
|