HomeSort by: relevance | last modified time | path
    Searched refs:unp_connid (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/sys/
unpcb.h 85 struct unpcbid unp_connid; /* pid and eids of peer */ member in struct:unpcb
91 * UNP_EIDSVALID - indicates that the unp_connid member is filled in
96 * UNP_EIDSBIND - indicates that the unp_connid member is filled
98 * it fills in unp_connid for later consumption by unp_connect().
102 #define UNP_EIDSVALID 0x0004 /* unp_connid contains valid data */
103 #define UNP_EIDSBIND 0x0008 /* unp_connid was set by bind() */
  /src/sys/kern/
uipc_usrreq.c 252 unp_connid(struct lwp *l, struct unpcb *unp, int flags) function
254 unp->unp_connid.unp_pid = l->l_proc->p_pid;
255 unp->unp_connid.unp_euid = kauth_cred_geteuid(l->l_cred);
256 unp->unp_connid.unp_egid = kauth_cred_getegid(l->l_cred);
680 error = sockopt_set(sopt, &unp->unp_connid,
681 sizeof(unp->unp_connid));
1079 unp_connid(l, unp, UNP_EIDSBIND);
1257 unp_connid(l, unp3, UNP_EIDSVALID);
1265 memcpy(&unp->unp_connid, &unp2->unp_connid,
    [all...]

Completed in 16 milliseconds