public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add SOL_VSOCK from Linux 6.7 to bits/socket.h
@ 2024-02-08 12:57 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2024-02-08 12:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6

commit 1bc61cf8e074e9faf67e6d32e99cb8ddab7e2eb6
Author: Joseph Myers <josmyers@redhat.com>
Date:   Thu Feb 8 12:57:24 2024 +0000

    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.

Diff:
---
 sysdeps/unix/sysv/linux/bits/socket.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 0d86feb4ca..86444f0018 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-08 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 12:57 [glibc] Add SOL_VSOCK from Linux 6.7 to bits/socket.h Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).