Searched refs:so_cred (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c175 return (seeotheruids_check(cred, so->so_cred));
/freebsd-11-stable/sys/security/mac_partition/
H A Dmac_partition.c274 error = partition_check(cred->cr_label, so->so_cred->cr_label);
/freebsd-11-stable/sys/sys/
H A Dsocketvar.h109 struct ucred *so_cred; /* (a) user credentials */ member in struct:socket
/freebsd-11-stable/sys/netinet6/
H A Draw_ip6.c416 in6p->in6p_outputopts, so->so_cred,
465 error = in6_selectsrc_socket(dstsock, optp, in6p, so->so_cred,
806 inp, so->so_cred, scope_ambiguous, &in6a, NULL);
H A Dsctp6_usrreq.c466 cru2x(inp->sctp_socket->so_cred, &xuc);
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c165 ssk->cred = crhold(child->so_cred);
H A Dsdp_main.c473 ssk->cred = crhold(so->so_cred);
/freebsd-11-stable/sys/kern/
H A Duipc_sockbuf.c444 if (!chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, cc,
473 (void)chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, 0,
H A Dsys_socket.c312 ub->st_uid = so->so_cred->cr_uid;
313 ub->st_gid = so->so_cred->cr_gid;
H A Duipc_socket.c448 (void)chgsbsize(so->so_cred->cr_uidinfo,
451 (void)chgsbsize(so->so_cred->cr_uidinfo,
461 crfree(so->so_cred);
512 so->so_cred = crhold(cred);
608 so->so_cred = crhold(head->so_cred);
3402 if (so->so_cred->cr_uid != uid)
3636 xso->so_uid = so->so_cred->cr_uid;
H A Dkern_prot.c1749 error = prison_check(cred, so->so_cred);
1757 if (cr_seeotheruids(cred, so->so_cred))
1759 if (cr_seeothergids(cred, so->so_cred))
H A Duipc_usrreq.c1633 unp->unp_socket->so_cred)) {
/freebsd-11-stable/sys/netinet/
H A Dtcp_timewait.c345 tw->tw_cred = crhold(so->so_cred);
H A Dtcp_syncache.c1303 cred = crhold(so->so_cred);
H A Din_pcb.c294 inp->inp_cred = crhold(so->so_cred);
H A Dsctp_usrreq.c412 cru2x(inp->sctp_socket->so_cred, &xuc);
H A Dsctp_pcb.c2442 inp->ip_inp.inp.inp_cred = crhold(so->so_cred);

Completed in 214 milliseconds