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

/linux-4.1.27/net/core/
H A Dsock.c1155 struct ucred peercred; sock_getsockopt() local
1156 if (len > sizeof(peercred)) sock_getsockopt()
1157 len = sizeof(peercred); sock_getsockopt()
1158 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); sock_getsockopt()
1159 if (copy_to_user(optval, &peercred, len)) sock_getsockopt()
/linux-4.1.27/net/unix/
H A Daf_unix.c46 * Malcolm Beattie : Set peercred for socketpair

Completed in 146 milliseconds