Home
last modified time | relevance | path

Searched refs:sk_peer_cred (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/unix/
Daf_unix.c601 old_cred = sk->sk_peer_cred; in init_peercred()
603 sk->sk_peer_cred = get_current_cred(); in init_peercred()
623 old_cred = sk->sk_peer_cred; in copy_peercred()
625 sk->sk_peer_cred = get_cred(peersk->sk_peer_cred); in copy_peercred()
/kernel/linux/linux-5.10/net/core/
Dsock.c1263 cred = get_cred(sk->sk_peer_cred); in sk_get_peer_cred()
1443 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sock_getsockopt()
1809 put_cred(sk->sk_peer_cred); in __sk_destruct()
3017 sk->sk_peer_cred = NULL; in sock_init_data_uid()
/kernel/linux/linux-5.10/include/net/
Dsock.h489 const struct cred *sk_peer_cred; member