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

/freebsd-9.3-release/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c175 return (seeotheruids_check(cred, so->so_cred));
/freebsd-9.3-release/sys/kern/
H A Dsys_socket.c271 ub->st_uid = so->so_cred->cr_uid;
272 ub->st_gid = so->so_cred->cr_gid;
H A Duipc_sockbuf.c311 if (!chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, cc,
340 (void)chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, 0,
H A Duipc_socket.c382 (void)chgsbsize(so->so_cred->cr_uidinfo,
385 (void)chgsbsize(so->so_cred->cr_uidinfo,
395 crfree(so->so_cred);
436 so->so_cred = crhold(cred);
532 so->so_cred = crhold(head->so_cred);
3337 if (so->so_cred->cr_uid != uid)
3565 xso->so_uid = so->so_cred->cr_uid;
H A Dkern_prot.c1725 error = prison_check(cred, so->so_cred);
1733 if (cr_seeotheruids(cred, so->so_cred))
1735 if (cr_seeothergids(cred, so->so_cred))
H A Duipc_usrreq.c808 (void)chgsbsize(so2->so_cred->cr_uidinfo, &so2->so_snd.sb_hiwat,
994 (void)chgsbsize(so->so_cred->cr_uidinfo, &so->so_snd.sb_hiwat,
1560 unp->unp_socket->so_cred)) {
/freebsd-9.3-release/sys/netipsec/
H A Dipsec.h53 ((_so)->so_cred != NULL && \
54 priv_check_cred((_so)->so_cred, PRIV_NETINET_IPSEC, 0) \
/freebsd-9.3-release/sys/security/mac_partition/
H A Dmac_partition.c274 error = partition_check(cred->cr_label, so->so_cred->cr_label);
/freebsd-9.3-release/sys/sys/
H A Dsocketvar.h109 struct ucred *so_cred; /* (a) user credentials */ member in struct:socket
/freebsd-9.3-release/sys/netinet6/
H A Draw_ip6.c423 in6p->in6p_outputopts, so->so_cred,
472 error = in6_selectsrc(dstsock, optp, in6p, NULL, so->so_cred,
826 inp, NULL, so->so_cred, &ifp, &in6a);
H A Dsctp6_usrreq.c515 cru2x(inp->sctp_socket->so_cred, &xuc);
/freebsd-9.3-release/sys/netinet/
H A Dtcp_timewait.c287 tw->tw_cred = crhold(so->so_cred);
H A Din_pcb.c280 inp->inp_cred = crhold(so->so_cred);
H A Dtcp_syncache.c1080 cred = crhold(so->so_cred);
H A Dsctp_pcb.c2469 inp->ip_inp.inp.inp_cred = crhold(so->so_cred);
H A Dsctp_usrreq.c428 cru2x(inp->sctp_socket->so_cred, &xuc);
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c166 ssk->cred = crhold(child->so_cred);
H A Dsdp_main.c465 ssk->cred = crhold(so->so_cred);

Completed in 303 milliseconds