Searched refs:sk_peer_cred (Results 1 – 5 of 5) sorted by relevance
164 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()
292 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()
752 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()
1643 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()
515 const struct cred *sk_peer_cred; member