aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/af_unix/scm_pidfd.c
diff options
context:
space:
mode:
authorAlexander Mikhalitsyn <[email protected]>2023-06-08 22:26:26 +0200
committerDavid S. Miller <[email protected]>2023-06-12 10:45:50 +0100
commit7b26952a91cf65ff1cc867a2382a8964d8c0ee7d (patch)
treebf4a6738d3ed49eb318d70d80cac4e9d00540e4c /tools/testing/selftests/net/af_unix/scm_pidfd.c
parent5e2ff6704a275be009be8979af17c52361b79b89 (diff)
net: core: add getsockopt SO_PEERPIDFD
Add SO_PEERPIDFD which allows to get pidfd of peer socket holder pidfd. This thing is direct analog of SO_PEERCRED which allows to get plain PID. Cc: "David S. Miller" <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: Leon Romanovsky <[email protected]> Cc: David Ahern <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Kees Cook <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Kuniyuki Iwashima <[email protected]> Cc: Lennart Poettering <[email protected]> Cc: Luca Boccassi <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Stanislav Fomichev <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Christian Brauner <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Tested-by: Luca Boccassi <[email protected]> Signed-off-by: Alexander Mikhalitsyn <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/scm_pidfd.c')
0 files changed, 0 insertions, 0 deletions