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:
parent
d3d0e36156
commit
31d76a1702
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user