1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

missing_socket: add SCM_PASSPIDFD and SCM_PIDFD

Preparation for later commits.
This commit is contained in:
Mike Yuan 2024-07-21 22:50:58 +02:00
parent d3d0e36156
commit 31d76a1702
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -51,6 +51,10 @@ struct sockaddr_vm {
#define SO_PEERGROUPS 59
#endif
#ifndef SO_PASSPIDFD
#define SO_PASSPIDFD 76
#endif
#ifndef SO_PEERPIDFD
#define SO_PEERPIDFD 77
#endif
@ -72,11 +76,14 @@ struct sockaddr_vm {
#define SOL_SCTP 132
#endif
/* Not exposed yet. Defined in include/linux/socket.h */
#ifndef SCM_SECURITY
#define SCM_SECURITY 0x03
#endif
#ifndef SCM_PIDFD
#define SCM_PIDFD 0x04
#endif
/* netinet/in.h */
#ifndef IP_FREEBIND
#define IP_FREEBIND 15