aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
AgeCommit message (Collapse)Author
2012-05-24Switch gettimeofday from INTUSE to libc_hidden_proto.Roland McGrath
2012-05-10Hurd: libc_once_getThomas Schwinge
2012-05-10Hurd: #include <kernel-features.h>Thomas Schwinge
2012-04-23Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.Joseph Myers
2012-02-27Add missing headersAndreas Schwab
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers
2011-11-15Clean up internal fopen usesUlrich Drepper
No need to ever not use c and e.
2011-10-31Cache network interface informationUlrich Drepper
Whenever getaddrinfo needed network interface information it used the netlink interface to read the information every single time. The problem is that this information can change at any time. The patch implements monitoring of the network interfaces through nscd. If no change is detected the previously read information can be reused (which is the norm). This timestamp information is also made available to other processes using the shared memory segment between nscd and those processes.
2011-09-19Clean up disabling of script_executeRoland McGrath
2011-09-05Try shell in posix_spawn* only in compat modeUlrich Drepper
2011-08-04Fix encoding name for IDN in getaddrinfoAndreas Schwab
2011-06-30Make sure RES_USE_INET6 is always restoredAndreas Schwab
2011-06-22Avoid __check_pf calls in getaddrinfo unless really neededUlrich Drepper
2011-06-22Fix Ipv4&IPv6 lookup in getaddrinfoAndreas Schwab
Problem introduced in the last patch.
2011-06-21Fix IPv6-only lookups through getaddrinfoUlrich Drepper
A recent patch introduced a problem where IPv6 lookups happily returned IPv4 addresses.
2011-06-21Minor optimization of getaddrinfo after recent patchUlrich Drepper
2011-06-13Fix memory leak in getaddrinfoUlrich Drepper
2011-05-29Restore _res correctlyUlrich Drepper
getaddrinfo works around the resolver functionality to avoid automatic IPv6 lookups. The restoring didn't allow for the resolver to set additional bits in _res.
2011-05-20Don't unconditionally use alloca in gaih_inetUlrich Drepper
2011-05-15Use mmap for allocation of buffers used for __abort_msgUlrich Drepper
2011-05-11Fix sched_setscheduler call in spawn implementationUlrich Drepper
2011-05-08Make complete getcwd work in rtldUlrich Drepper
2011-05-08Fix Linux getcwd for long pathsUlrich Drepper
The getcwd syscall (so far?) can only handle path up to one page in size. There is no limit about directory hierarchy depth, though, and the POSIX getcwd is supposed to handle this. In that case fall back to the generic getcwd. Additionally, optimize the generic getcwd to use openat when possible to change the asymptotic performance from O(N^2) to O(n).
2011-05-02getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modulesMaciej Babinski
2011-01-19Fix decoding of canonical name in getaddrinfo.Ulrich Drepper
2011-01-13Relax requirement on close in child created by posix_spawn.Ulrich Drepper
2010-08-11Add self-contained test for NSS.Ulrich Drepper
While at it fix interaction between __nss_configure_lookup and nscd. Otherwise the test fails if nscd is runnung.
2010-04-04Handle POSIX-compliant errno value of unlink in remove.Ulrich Drepper
2010-03-26Fix one case of last checkin.Ulrich Drepper
If the v4 lookup failed but v6 succeeded we treat this as a success.
2010-03-26Don't abort immediately on successful lookup in getaddrinfo.Ulrich Drepper
When not using gethostbyname4 methods we immediately aborted the loop over the nss modules on the first successful lookup. While this is almost always what is wanted the nsswitch.conf file allows to select something different.
2010-03-26Fix spurious UNAVAIL status is getaddrinfoAndreas Schwab
2010-03-25Fix typo in cuseridAndreas Schwab
2010-03-24calls to cuserid() can result in buffer overruns and/or overflowsJonathan Geisler
2009-12-10Fix a few error cases in *name4_r lookup handling.Ulrich Drepper
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper
2009-07-25Handle missing NSS modules and those without callbacks.Ulrich Drepper
getaddrinfo didn't update the status variable in that round of the loop if no callback was used.
2009-06-15Preserve message printed before abort.Ulrich Drepper
The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
2009-04-23* sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper
* sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2009-04-17* sysdeps/posix/preadv.c: Reading of zero bytes is no error.Ulrich Drepper
* sysdeps/posix/readv.c: Likewise. Reported by Markus Armbruster <armbru@redhat.com>.
2009-04-03* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
2009-04-03* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper
__ASSUME_COMPLETE_READV_WRITEV. * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback with modern kernels. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/posix/readv.c: Since read is a cancellation point we have to free a possible malloced buffer in case of cancellation. * sysdeps/posix/writev.c: Likewise for write. c2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-02-25..Ulrich Drepper
2009-02-24 Ulrich Drepper <drepper@redhat.com> * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
2009-02-07[BZ #7095]Ulrich Drepper
2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #7095] * bits/confname.h: Add SUSv7 macros for getconf environments. * bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. * posix/confstr.c: Handle SUSv5 and SUSv7 environments. * posix/getconf.c: Likewise. * posix/sysconf.c: Likewise. * sysdeps/posix/sysconf.c: Likewise. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 environments.
2008-12-29* sysdeps/posix/getaddrinfo.c (gaih_inet): When theUlrich Drepper
gethostbyname4_r function call succeeded, just leave the loop.
2008-12-03* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): RecognizeUlrich Drepper
ESRCH return value. (_nss_dns_gethostbyname4_r): Likewise. * resolv/res_init.c (__res_vinit): Initialize nscount to zero. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use gethostbyname4_r, we don't have a separate IPv6 status, so copy the no_data variable.
2008-11-27* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict searchUlrich Drepper
to IPv4 or IPv6 if an interface has been found.
2008-11-27* sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system hasUlrich Drepper
neither IPv4 nor IPv6 addresses defined, don't do anything.
2008-08-02* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inlineUlrich Drepper
to prevent warning.
2008-07-30* sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initialUlrich Drepper
buffer passed to NSS functions.