aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexander Mikhalitsyn <[email protected]>2025-07-03 22:23:07 +0000
committerChristian Brauner <[email protected]>2025-07-04 07:32:35 +0000
commit30580dc96a3e6e146006e811ad1d01ef8a82a509 (patch)
tree263f03062b692fd10ea3a0b5eee4e9cea97c2ba7 /net/unix/af_unix.c
parentaf_unix: introduce unix_skb_to_scm helper (diff)
downloadkernel-30580dc96a3e6e146006e811ad1d01ef8a82a509.tar.gz
kernel-30580dc96a3e6e146006e811ad1d01ef8a82a509.zip
af_unix: introduce and use scm_replace_pid() helper
Existing logic in __scm_send() related to filling an struct scm_cookie with a proper struct pid reference is already pretty tricky. Let's simplify it a bit by introducing a new helper. This helper will be extended in one of the next patches. Cc: [email protected] Cc: [email protected] Cc: David S. Miller <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: Simon Horman <[email protected]> Cc: Willem de Bruijn <[email protected]> Cc: Leon Romanovsky <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Kuniyuki Iwashima <[email protected]> Cc: Lennart Poettering <[email protected]> Cc: Luca Boccassi <[email protected]> Cc: David Rheinsberg <[email protected]> Signed-off-by: Alexander Mikhalitsyn <[email protected]> Link: https://lore.kernel.org/[email protected] Reviewed-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions