Home
last modified time | relevance | path

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

/net/core/
Dsock.c1082 struct ucred peercred; in sock_getsockopt() local
1083 if (len > sizeof(peercred)) in sock_getsockopt()
1084 len = sizeof(peercred); in sock_getsockopt()
1085 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sock_getsockopt()
1086 if (copy_to_user(optval, &peercred, len)) in sock_getsockopt()