mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
missing_socket: add SO_PASSRIGHTS
This commit is contained in:
2
README
2
README
@@ -74,7 +74,7 @@ REQUIREMENTS:
|
||||
≥ 6.10 for fcntl(F_DUPFD_QUERY), unprivileged linkat(AT_EMPTY_PATH),
|
||||
and block device 'partscan' sysfs attribute
|
||||
≥ 6.13 for PIDFD_GET_INFO and {set,remove}xattrat()
|
||||
≥ 6.16 for coredump pattern '%F' (pidfd) specifier
|
||||
≥ 6.16 for coredump pattern '%F' (pidfd) specifier and SO_PASSRIGHTS
|
||||
|
||||
✅ systemd utilizes several new kernel APIs, but will fall back gracefully
|
||||
when unavailable.
|
||||
|
||||
@@ -13,6 +13,11 @@
|
||||
#define SO_PEERPIDFD 77
|
||||
#endif
|
||||
|
||||
/* Supported since kernel v6.16 (77cbe1a6d8730a07f99f9263c2d5f2304cf5e830) */
|
||||
#ifndef SO_PASSRIGHTS
|
||||
#define SO_PASSRIGHTS 83
|
||||
#endif
|
||||
|
||||
/* Not exposed yet. Defined in include/linux/socket.h. */
|
||||
#ifndef SOL_SCTP
|
||||
#define SOL_SCTP 132
|
||||
|
||||
Reference in New Issue
Block a user