glibc/sysdeps/unix/sysv/linux/bits
Joseph Myers d1ac55d890 Fix netinet/in.h MCAST_* namespace (bug 18558).
sysdeps/unix/sysv/linux/bits/in.h (as included in netinet/in.h, and
via that in netdb.h and arpa/inet.h) defines a series of MCAST_*
macros, both under __USE_MISC and then again unconditionally.  These
are not POSIX macros, nor in any of the namespaces listed in POSIX as
reserved for this header, so should not be defined unconditionally.
This patch duly removes the unconditional definitions, leaving the
ones conditional on __USE_MISC.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

	[BZ #18558]
	* sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
	unconditional definition.
	(MCAST_BLOCK_SOURCE): Likewise.
	(MCAST_UNBLOCK_SOURCE): Likewise.
	(MCAST_LEAVE_GROUP): Likewise.
	(MCAST_JOIN_SOURCE_GROUP): Likewise.
	(MCAST_LEAVE_SOURCE_GROUP): Likewise.
	(MCAST_MSFILTER): Likewise.
	* conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
	Remove variable.
	(test-xfail-XOPEN2K/netdb.h/conform): Likewise.
	(test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
	(test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
	(test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
	(test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2015-06-18 19:48:22 +00:00
..
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fcntl-linux.h Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug 17912) 2015-02-09 10:41:48 +01:00
fcntl.h
in.h Fix netinet/in.h MCAST_* namespace (bug 18558). 2015-06-18 19:48:22 +00:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_opt.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
siginfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigset.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysctl.h Add sysctl.mk and bits/sysctl.h 2012-05-22 13:46:29 -07:00
termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
time.h Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timex.h Update timex.h for ADJ_SETOFFSET. 2015-02-24 23:53:30 -05:00
uio.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00