Add SCM_SECURITY, SCM_PIDFD to bits/socket.h
commit5ef608f36493c5d711418c5d31a7ebe710decc6e
authorJoseph Myers <joseph@codesourcery.com>
Mon, 16 Oct 2023 13:19:26 +0000 (16 13:19 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 16 Oct 2023 13:19:26 +0000 (16 13:19 +0000)
treec299095bc30a9b3460f40b5c7958c1d164dce708
parent2399ab0d2076b485aa81855e048a7a44d3c12eaa
Add SCM_SECURITY, SCM_PIDFD to bits/socket.h

Linux 6.5 adds a constant SCM_PIDFD (recall that the non-uapi
linux/socket.h, where this constant is added, is in fact a header
providing many constants that are part of the kernel/userspace
interface).  This shows up that SCM_SECURITY, from the same set of
definitions and added in Linux 2.6.17, is also missing from glibc,
although glibc has the first two constants from this set, SCM_RIGHTS
and SCM_CREDENTIALS; add both missing constants to glibc.

Tested for x86_64.
sysdeps/unix/sysv/linux/bits/socket.h