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()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()
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()
694 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()
1569 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()
504 const struct cred *sk_peer_cred; member