<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/include/netinet, branch master</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/include/netinet?h=master</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/include/netinet?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2020-07-21T05:33:20Z</updated>
<entry>
<title>nss_files: Consolidate line parse declarations in &lt;nss_files.h&gt;</title>
<updated>2020-07-21T05:33:20Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2020-07-16T14:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=e9b2340998ab22402a8e968ba674c380a625b9dc'/>
<id>urn:sha1:e9b2340998ab22402a8e968ba674c380a625b9dc</id>
<content type='text'>
These functions should eventually have the same type, so it makes
sense to declare them together.

Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>Remove --enable-obsolete-nsl configure flag</title>
<updated>2020-07-08T15:25:57Z</updated>
<author>
<name>Petr Vorel</name>
<email>pvorel@suse.cz</email>
</author>
<published>2020-07-08T11:06:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=ae7a94e5e3edf78f4da562edc05ece229614c716'/>
<id>urn:sha1:ae7a94e5e3edf78f4da562edc05ece229614c716</id>
<content type='text'>
this means that *always* libnsl is only built as shared library for
backward compatibility and the NSS modules libnss_nis and libnss_nisplus
are not built at all, libnsl's headers aren't installed.

This compatibility is kept only for architectures and ABIs that have
been added in or before version 2.28.

Replacement implementations based on TIRPC, which additionally support
IPv6, are available from &lt;https://github.com/thkukuk/&gt;.

This change does not affect libnss_compat which does not depended
on libnsl since 2.27 and thus can be used without NIS.

libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed
libnsl headers use installed Sun RPC headers), which will be removed in
the following commit.
</content>
</entry>
<entry>
<title>Add missing header wrappers under include/</title>
<updated>2019-02-16T07:25:16Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2019-02-15T20:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=ebd32784ce2029d0461a90a79bc4e37f8d051765'/>
<id>urn:sha1:ebd32784ce2029d0461a90a79bc4e37f8d051765</id>
<content type='text'>
With a complete set of wrapper headers, it will be possible to check
for automatically for new installed headers which lack such wrappers.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>Installed header hygiene (BZ#20366): Test of installed headers.</title>
<updated>2016-09-23T12:43:56Z</updated>
<author>
<name>Zack Weinberg</name>
<email>zackw@panix.com</email>
</author>
<published>2016-08-24T01:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=4775578486c8ee2aa09b402eb272eb932e7e0691'/>
<id>urn:sha1:4775578486c8ee2aa09b402eb272eb932e7e0691</id>
<content type='text'>
This adds a test to ensure that the problems fixed in the last several
patches do not recur.  Each directory checks the headers that it
installs for two properties: first, each header must be compilable in
isolation, as both C and C++, under a representative combination of
language and library conformance levels; second, there is a blacklist
of identifiers that may not appear in any installed header, currently
consisting of the legacy BSD typedefs.  (There is an exemption for the
headers that define those typedefs, and for the RPC headers.  It may be
necessary to make this more sophisticated if we add more stuff to the
blacklist in the future.)

In order for this test to work correctly, every wrapper header
that actually defines something must guard those definitions with
 #ifndef _ISOMAC.  This is the existing mechanism used by the conform/
tests to tell wrapper headers not to define anything that the public
header wouldn't, and not to use anything from libc-symbols.h.  conform/
only cares for headers that we need to check for standards conformance,
whereas this test applies to *every* header.  (Headers in include/ that
are either installed directly, or are internal-use-only and do *not*
correspond to any installed header, are not affected.)

	* scripts/check-installed-headers.sh: New script.
	* Rules: In each directory that defines header files to be installed,
	run check-installed-headers.sh on them as a special test.
	* Makefile: Likewise for the headers installed at top level.

	* include/aliases.h, include/alloca.h, include/argz.h
	* include/arpa/nameser.h, include/arpa/nameser_compat.h
	* include/elf.h, include/envz.h, include/err.h
	* include/execinfo.h, include/fpu_control.h, include/getopt.h
	* include/gshadow.h, include/ifaddrs.h, include/libintl.h
	* include/link.h, include/malloc.h, include/mcheck.h
	* include/mntent.h, include/netinet/ether.h
	* include/nss.h, include/obstack.h, include/printf.h
	* include/pty.h, include/resolv.h, include/rpc/auth.h
	* include/rpc/auth_des.h, include/rpc/auth_unix.h
	* include/rpc/clnt.h, include/rpc/des_crypt.h
	* include/rpc/key_prot.h, include/rpc/netdb.h
	* include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
	* include/rpc/pmap_rmt.h, include/rpc/rpc.h
	* include/rpc/rpc_msg.h, include/rpc/svc.h
	* include/rpc/svc_auth.h, include/rpc/xdr.h
	* include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
	* include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
	* include/rpcsvc/ypupd.h, include/shadow.h
	* include/stdio_ext.h, include/sys/epoll.h
	* include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
	* include/sys/prctl.h, include/sys/profil.h
	* include/sys/statfs.h, include/sys/sysctl.h
	* include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
	* sysdeps/arm/nacl/include/bits/setjmp.h
	* sysdeps/mips/include/sys/asm.h
	* sysdeps/unix/sysv/linux/include/sys/sysinfo.h
	* sysdeps/unix/sysv/linux/include/sys/timex.h
	* sysdeps/x86/fpu/include/bits/fenv.h:
	Add #ifndef _ISOMAC guard around internal declarations.
	Add multiple-inclusion guard if not already present.
</content>
</entry>
<entry>
<title>Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532).</title>
<updated>2015-06-17T20:08:22Z</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2015-06-17T20:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=17c199ee92e4ca8a34a47c42924608a25a444eb2'/>
<id>urn:sha1:17c199ee92e4ca8a34a47c42924608a25a444eb2</id>
<content type='text'>
gethostbyaddr brings in references to in6addr_any and thereby
in6addr_loopback, which aren't in all the standards containing
gethostbyaddr (gethostbyaddr is in XPG4 and UNIX98, in6addr_any and
in6addr_loopback are new in POSIX.1:2001).  This patch fixes this by
making those symbols into weak aliases (safe in this case, unlike for
most data symbols, because these data symbols are const).

Tested for x86_64 and x86 (testsuite, and comparison of disassembly of
installed stripped shared libraries).  Disassembly is unchanged for
x86_64; for x86, I see some changes of stack offsets, but no other
code generation changes or code size differences.

	[BZ #18532]
	* inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
	define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
	(in6addr_loopback): Rename to __in6addr_loopback and define as
	weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
	* include/netinet/in.h (__in6addr_loopback): Declare.  Use
	libc_hidden_proto.
	(__in6addr_any): Likewise.
	* inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
	in6addr_any.
	* conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
	variable.
	(test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
</content>
</entry>
<entry>
<title>First steps to get conformtest fully working</title>
<updated>2012-02-26T04:18:39Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@gmail.com</email>
</author>
<published>2012-02-26T04:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=3134156779108fe8b46e0f4cd60d837572faaa93'/>
<id>urn:sha1:3134156779108fe8b46e0f4cd60d837572faaa93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying.</title>
<updated>2006-05-25T17:16:17Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2006-05-25T17:16:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=1663b44fbc3fbebdf597397f45fcaa033d00d032'/>
<id>urn:sha1:1663b44fbc3fbebdf597397f45fcaa033d00d032</id>
<content type='text'>
	Avoid memory leak in case realloc fails.  Simplification for
	better code generation.

	Avoid deprecation warning because of libc_hidden_proto for
	inet6_option_alloc.
	* inet/inet6_option.c (option_alloc): Renamed from
	inet6_option_alloc.  Made static.
	(inet6_option_alloc): New a simple wrapper around option_alloc.
	(inet6_option_append): Call option_alloc.
	* include/netinet/in.h: Remove libc_hidden_proto for
	inet6_option_alloc.
</content>
</entry>
<entry>
<title>(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.</title>
<updated>2004-12-22T20:10:10Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2004-12-22T20:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=a334319f6530564d22e775935d9c91663623a1b4'/>
<id>urn:sha1:a334319f6530564d22e775935d9c91663623a1b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>2.5-18.1</title>
<updated>2007-07-12T18:26:36Z</updated>
<author>
<name>Jakub Jelinek</name>
<email>jakub@redhat.com</email>
</author>
<published>2007-07-12T18:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=0ecb606cb6cf65de1d9fc8a919bceb4be476c602'/>
<id>urn:sha1:0ecb606cb6cf65de1d9fc8a919bceb4be476c602</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2004-10-24T09:06:50Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2004-10-24T09:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=8cf26632527ab97265a4925dfd7d89ca48b4c28b'/>
<id>urn:sha1:8cf26632527ab97265a4925dfd7d89ca48b4c28b</id>
<content type='text'>
2004-10-24  Ulrich Drepper  &lt;drepper@redhat.com&gt;

	* include/libc-symbols.h: Define hidden attribute macros for
	libnss_files.
	* include/netdb.h: Use libnss_files_hidden_proto for the parsers
	defined in libnss_files, not libc_hidden_proto.
	* include/netinet/ether.h: Likewise.
	* include/rpc/netdb.h: Likewise.
	* nss/nss_files/files-parse.c: Use hidden_def in parser definitions
	instead of libc_hidden_def.
	* nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to
	_nss_netgroup_parseline definition.
</content>
</entry>
</feed>
