Home
last modified time | relevance | path

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

/net/core/
Dsock.c1171 struct ucred peercred; in sock_getsockopt() local
1172 if (len > sizeof(peercred)) in sock_getsockopt()
1173 len = sizeof(peercred); in sock_getsockopt()
1174 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sock_getsockopt()
1175 if (copy_to_user(optval, &peercred, len)) in sock_getsockopt()