Searched refs:unp_connid (Results 1 – 2 of 2) sorted by relevance
/netbsd/sys/kern/ |
H A D | uipc_usrreq.c | 236 unp_connid(struct lwp *l, struct unpcb *unp, int flags) in unp_connid() function 238 unp->unp_connid.unp_pid = l->l_proc->p_pid; in unp_connid() 239 unp->unp_connid.unp_euid = kauth_cred_geteuid(l->l_cred); in unp_connid() 240 unp->unp_connid.unp_egid = kauth_cred_getegid(l->l_cred); in unp_connid() 664 error = sockopt_set(sopt, &unp->unp_connid, in uipc_ctloutput() 665 sizeof(unp->unp_connid)); in uipc_ctloutput() 1056 unp_connid(l, unp, UNP_EIDSBIND); in unp_listen() 1234 unp_connid(l, unp3, UNP_EIDSVALID); in unp_connect() 1242 memcpy(&unp->unp_connid, &unp2->unp_connid, in unp_connect() 1243 sizeof(unp->unp_connid)); in unp_connect()
|
/netbsd/sys/sys/ |
H A D | unpcb.h | 85 struct unpcbid unp_connid; /* pid and eids of peer */ member
|