diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-02-08 12:57:24 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-02-08 12:57:24 +0000 |
commit | 1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6 (patch) | |
tree | 9cb88267058301ed1bb52c5ef1c6867899ede897 /sysdeps/unix | |
parent | 07fd072caff50bca2a7e9f5737a5b38280d2ffda (diff) | |
download | glibc-1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6.zip glibc-1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6.tar.gz glibc-1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 0d86feb..86444f0 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -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 |