Home
last modified time | relevance | path

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

/Linux-v6.6/net/bluetooth/
Daf_bluetooth.c164 sk->sk_peer_cred = get_current_cred(); in bt_sock_alloc()
210 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()
212 sk->sk_peer_cred = get_cred(parent->sk_peer_cred); in bt_accept_enqueue()
Dhci_sock.c292 if (sk->sk_peer_cred) { in hci_sock_copy_creds()
293 creds->uid = sk->sk_peer_cred->uid; in hci_sock_copy_creds()
294 creds->gid = sk->sk_peer_cred->gid; in hci_sock_copy_creds()
/Linux-v6.6/net/unix/
Daf_unix.c694 old_cred = sk->sk_peer_cred; in init_peercred()
696 sk->sk_peer_cred = get_current_cred(); in init_peercred()
716 old_cred = sk->sk_peer_cred; in copy_peercred()
718 sk->sk_peer_cred = get_cred(peersk->sk_peer_cred); in copy_peercred()
/Linux-v6.6/net/core/
Dsock.c1569 cred = get_cred(sk->sk_peer_cred); in sk_get_peer_cred()
1761 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sk_getsockopt()
2210 put_cred(sk->sk_peer_cred); in __sk_destruct()
3457 sk->sk_peer_cred = NULL; in sock_init_data_uid()
/Linux-v6.6/include/net/
Dsock.h504 const struct cred *sk_peer_cred; member