Add SOL_VSOCK from Linux 6.7 to bits/socket.h
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Testing passed
|
Commit Message
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.
Comments
On Feb 07 2024, Joseph Myers wrote:
> 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.
Ok.
@@ -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