Add SOL_VSOCK from Linux 6.7 to bits/socket.h

Linux 6.7 adds a constant SOL_VSOCK (recall that various constants in
include/linux/socket.h are in fact part of the kernel-userspace API
despite that not being a uapi header).  Add it to glibc's
bits/socket.h.

Tested for x86_64.
This commit is contained in:
Joseph Myers 2024-02-08 12:57:24 +00:00
parent 07fd072caf
commit 1bc61cf8e0

View File

@ -172,6 +172,7 @@ typedef __socklen_t socklen_t;
#define SOL_MPTCP 284
#define SOL_MCTP 285
#define SOL_SMC 286
#define SOL_VSOCK 287
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 4096