Searched refs:peercred (Results 1 – 3 of 3) sorted by relevance
438 sk->peercred.pid = current->pid; in unix_listen()439 sk->peercred.uid = current->euid; in unix_listen()440 sk->peercred.gid = current->egid; in unix_listen()966 newsk->peercred.pid = current->pid; in unix_stream_connect()967 newsk->peercred.uid = current->euid; in unix_stream_connect()968 newsk->peercred.gid = current->egid; in unix_stream_connect()983 sk->peercred = other->peercred; in unix_stream_connect()1027 ska->peercred.pid = skb->peercred.pid = current->pid; in unix_socketpair()1028 ska->peercred.uid = skb->peercred.uid = current->euid; in unix_socketpair()1029 ska->peercred.gid = skb->peercred.gid = current->egid; in unix_socketpair()
549 if (len > sizeof(sk->peercred)) in sock_getsockopt()550 len = sizeof(sk->peercred); in sock_getsockopt()551 if (copy_to_user(optval, &sk->peercred, len)) in sock_getsockopt()1213 sk->peercred.pid = 0; in sock_init_data()1214 sk->peercred.uid = -1; in sock_init_data()1215 sk->peercred.gid = -1; in sock_init_data()
671 struct ucred peercred; member