about summary refs log tree commit diff
path: root/inet
Commit message (Collapse)AuthorAgeFilesLines
* Coordinate IPv6 definitions for Linux and glibcCarlos O'Donell2013-09-061-29/+40
| | | | | | | | | | This change synchronizes the glibc headers with the Linux kernel headers and arranges to coordinate the definition of structures already defined the Linux kernel UAPI headers. It is now safe to include glibc's netinet/in.h or Linux's linux/in6.h in any order in a userspace application and you will get the same ABI. The ABI is guaranteed by UAPI and glibc.
* True stub __ifreq.Roland McGrath2013-08-271-57/+4
|
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-081-1/+1
|
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-074-7/+7
|
* Fix leading whitespaces.Ondrej Bilka2013-06-061-1/+1
|
* Remove trailing whitespace.Joseph Myers2013-06-052-2/+2
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-1610-3/+10
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0278-79/+78
|
* Fix a strict-alias warning in tst-inet6_rth.Roland McGrath2012-11-291-5/+9
|
* [BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge2012-11-041-1/+0
|
* Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines ↵Roland McGrath2012-08-2222-22/+88
| | | | for USE_NSCD case.
* BZ#13696: Add --disable-nscd configure option.Roland McGrath2012-08-222-20/+29
|
* Do not pollute name space with internal_*netgrent functions.Roland McGrath2012-08-162-29/+23
|
* Conditionalize use of PTR_MANGLE.Roland McGrath2012-07-311-2/+5
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-301-0/+2
|
* Provide a generic empty version of __check_native.Pino Toscano2012-07-261-0/+27
| | | | | Add an empty implementation of __check_native, as used in the posix version of getaddrinfo. This allows non-Linux GNU-based OSes to compile.
* Rename __secure_getenv to secure_getenvFlorian Weimer2012-07-251-1/+1
|
* tftp.h: rework layout to work with fortificationMike Frysinger2012-05-081-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current tftp structure does not work when fortification is enabled. Starting with gcc-4.5, more size checking was added to trigger these. Older versions just didn't have enough information, so they returned -1 as the sizes. First, the tu_stuff field is declared as 1 byte (when it's really an arbitrary length C string), so attempting to strcpy() with it results in crashes. This fails with _FORTIFY_SOURCE=1. Second, even if we change that to [0] (since gcc does not allow flexible array members in an union), gcc is not smart enough to see that they are two overlapping flexible arrays (tu_stuff and tu_data), so it will still trigger an abort with _FORTIFY_SOURCE=2. This is because it thinks that tu_stuff is 0 bytes and tu_data comes after it. Talking to upstream gcc, they don't seem terribly inclined to fix the 2nd issue, but even if they did, we still have plenty of 4.5 and 4.6 installs that would hit problems. So, let's re-order with a few more anonymous structs & unions so that the fields are laid out with a zero-length array always as the last field. This seems to fix things with gcc-4.6, and the tftp-hpa pkg continues to build & work. URL: https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/691345 URL: https://bugs.archlinux.org/task/28103 URL: https://bugs.gentoo.org/357083 URL: http://gcc.gnu.org/PR52944 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 2012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-5/+0
| | | | | | | | | | | | | | | | | | | Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-3/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0977-231/+154
|
* Remove pre-ISO C supportUlrich Drepper2012-01-074-69/+69
| | | | No more __const.
* Fix error code for too small input buffer to getnameinfoUlrich Drepper2011-12-221-5/+6
|
* Fix more warningsUlrich Drepper2011-12-033-13/+238
|
* Clean up internal fopen usesUlrich Drepper2011-11-152-7/+7
| | | | No need to ever not use c and e.
* Cache network interface informationUlrich Drepper2011-10-311-1/+17
| | | | | | | | | | | | 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.
* Fix PLT use in getnetgrent_rAndreas Schwab2011-10-101-3/+3
|
* Implement caching of nscdUlrich Drepper2011-10-071-5/+60
|
* Remove support for !USE___THREADUlrich Drepper2011-09-102-23/+3
|
* Fix typo in last patchUlrich Drepper2011-07-061-1/+1
|
* Add the extra check also in innetgrUlrich Drepper2011-07-061-0/+5
|
* Fix handling of chained netgroupsUlrich Drepper2011-07-061-0/+5
|
* Minimal cleanup in innetgr.Ulrich Drepper2011-06-271-1/+1
|
* Add missing DL_CALL_FCTUlrich Drepper2011-06-211-6/+8
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-5/+2
|
* Don't use removed rpc headersAndreas Schwab2011-05-051-1/+3
|
* Fix getnameinfo flags parameter type.Bruno Haible2011-05-011-2/+2
|
* Fix type of nd_opt_home_agent_info_preference.Arnaud Ebalard2009-06-151-2/+2
|
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-262-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
* * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper2009-04-261-2/+3
| | | | Avoid warning by using may_alias attribute on ptrhack.
* [BZ #9880]Ulrich Drepper2009-03-152-1/+155
| | | | | | | * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments correctly. Set segleft member in output as required. Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse.
* [BZ #9881]Ulrich Drepper2009-03-153-3/+42
| | | | | | | | | * inet/inet6_rth.c (inet6_rth_add): Add some error checking. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/Makefile (tests): Add tst-inet6_rth. * inet/tst-inet6_rth.c: New file. alignment of La_x86_64_regs. Store xmm parameters.
* * inet/Makefile (tests): Add tst-getni2.Ulrich Drepper2008-12-092-1/+42
| | | | * inet/tst-getni2.c: New file.
* [BZ #7080]Ulrich Drepper2008-12-093-1/+41
| | | | | | | | | | 2008-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #7080] * inet/getnameinfo.c (getnameinfo): Check for output buffers being NULL when NI_NAMEREQD is set. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/Makefile (tests): Add tst-getni1. * inet/tst-getni1.c: New file.
* * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP andUlrich Drepper2008-05-141-1/+5
| | | | | | | | | | UDPlite. * nss/getent.c (ahosts_keys_int): Handle all known socket types. * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define.
* Remove useless "if" before "free".Ulrich Drepper2008-03-191-2/+1
|
* [BZ #5774]Ulrich Drepper2008-03-081-1/+1
| | | | | | | | | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace on NAN(...) sequence. * stdlib/Makefile (tests): Add tst-strtod6. * stdlib/tst-strtod6.c: New file. * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow.
* [BZ #5760]Ulrich Drepper2008-03-081-2/+6
| | | | | * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. Patch by Roland Bless <roland@bless.de>.