Home
last modified time | relevance | path

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

/net/core/
Dsock.c1748 struct ucred peercred; in sk_getsockopt() local
1749 if (len > sizeof(peercred)) in sk_getsockopt()
1750 len = sizeof(peercred); in sk_getsockopt()
1753 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sk_getsockopt()
1756 if (copy_to_sockptr(optval, &peercred, len)) in sk_getsockopt()