glibc/sysdeps/unix/sysv/linux/bits
Joseph Myers f9b437d5ef Update sysdeps/unix/sysv/linux/bits/socket.h for Linux 4.6.
This patch updates sysdeps/unix/sysv/linux/bits/socket.h for new
constants added in Linux 4.6.  AF_KCM / PF_KCM are added.  SOL_KCM is
new, and I added a lot of SOL_* values postdating the last one present
in the header, since I saw no apparent reason for the set in glibc to
stop at SOL_IRDA.  MSG_BATCH is added; Linux also has
MSG_SENDPAGE_NOTLAST which is not in glibc, but given the comment
starts "sendpage() internal" I presume it's correct for it not to be
in glibc.

(Note that this is a case where the Linux kernel header with userspace
relevant values is *not* a uapi header but include/linux/socket.h - I
don't know why, but at least this header, as well as uapi headers,
needs reviewing for glibc-relevant changes each release.)

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

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
	(PF_MAX): Update value.
	(AF_KCM): New macro.
	(SOL_NETBEUI): Likewise.
	(SOL_LLC): Likewise.
	(SOL_DCCP): Likewise.
	(SOL_NETLINK): Likewise.
	(SOL_TIPC): Likewise.
	(SOL_RXRPC): Likewise.
	(SOL_PPPOL2TP): Likewise.
	(SOL_BLUETOOTH): Likewise.
	(SOL_PNPIPE): Likewise.
	(SOL_RDS): Likewise.
	(SOL_IUCV): Likewise.
	(SOL_CAIF): Likewise.
	(SOL_ALG): Likewise.
	(SOL_NFC): Likewise.
	(SOL_KCM): Likewise.
	(MSG_BATCH): New enum value and macro.
2016-05-23 13:27:37 +00:00
..
a.out.h Update. 2003-07-25 09:06:04 +00:00
dirent.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fcntl-linux.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fcntl.h Update. 2000-09-01 07:14:30 +00:00
in.h Update glibc headers for Linux 4.5. 2016-03-14 19:04:53 +00:00
initspin.h Update. 2000-10-15 06:50:42 +00:00
inotify.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
posix_opt.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sched.h Add CLONE_NEWCGROUP from Linux 4.6 to bits/sched.h. 2016-05-18 17:46:52 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
siginfo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigset.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
socket.h Update sysdeps/unix/sysv/linux/bits/socket.h for Linux 4.6. 2016-05-23 13:27:37 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sysctl.h Add sysctl.mk and bits/sysctl.h 2012-05-22 13:46:29 -07:00
termios.h Fix termios.h XCASE namespace (bug 19925). 2016-04-08 18:16:09 +00:00
time.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timex.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
uio.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00