Home
last modified time | relevance | path

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

/linux/net/bluetooth/
H A Daf_bluetooth.c164 sk->sk_peer_cred = get_current_cred(); in bt_sock_alloc()
232 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()
234 sk->sk_peer_cred = get_cred(parent->sk_peer_cred); in bt_accept_enqueue()
H A 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/net/unix/
H A Daf_unix.c752 sk->sk_peer_cred = get_current_cred(); in init_peercred()
762 old_cred = sk->sk_peer_cred; in update_peercred()
776 sk->sk_peer_cred = get_cred(peersk->sk_peer_cred); in copy_peercred()
/linux/net/core/
H A Dsock.c1643 cred = get_cred(sk->sk_peer_cred); in sk_get_peer_cred()
1842 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sk_getsockopt()
2284 put_cred(sk->sk_peer_cred); in __sk_destruct()
3563 sk->sk_peer_cred = NULL; in sock_init_data_uid()
/linux/include/net/
H A Dsock.h515 const struct cred *sk_peer_cred; member