diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-05-19 13:57:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-05-23 10:24:18 +0100 |
commit | 3041bbbeb41b807d2e24d7d78d9cc1387d95898a (patch) | |
tree | 108325af409e17aefb360dd3af950847e1bea91d /tools/perf/scripts/python/stackcollapse.py | |
parent | 350d4546295949c8a29e345b340e57772813037a (diff) |
af_unix: Don't pass struct socket to maybe_add_creds().
We will move SOCK_PASS{CRED,PIDFD,SEC} from struct socket.flags
to struct sock for better handling with SOCK_PASSRIGHTS.
Then, we don't need to access struct socket in maybe_add_creds().
Let's pass struct sock to maybe_add_creds() and its caller
queue_oob().
While at it, we append the unix_ prefix and fix double spaces
around the pid assignment.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions