Searched refs:so_cred (Results 1 - 18 of 18) sorted by relevance
/freebsd-9.3-release/sys/security/mac_seeotheruids/ |
H A D | mac_seeotheruids.c | 175 return (seeotheruids_check(cred, so->so_cred));
|
/freebsd-9.3-release/sys/kern/ |
H A D | sys_socket.c | 271 ub->st_uid = so->so_cred->cr_uid; 272 ub->st_gid = so->so_cred->cr_gid;
|
H A D | uipc_sockbuf.c | 311 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 D | uipc_socket.c | 382 (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 D | kern_prot.c | 1725 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 D | uipc_usrreq.c | 808 (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 D | ipsec.h | 53 ((_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 D | mac_partition.c | 274 error = partition_check(cred->cr_label, so->so_cred->cr_label);
|
/freebsd-9.3-release/sys/sys/ |
H A D | socketvar.h | 109 struct ucred *so_cred; /* (a) user credentials */ member in struct:socket
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | raw_ip6.c | 423 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 D | sctp6_usrreq.c | 515 cru2x(inp->sctp_socket->so_cred, &xuc);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | tcp_timewait.c | 287 tw->tw_cred = crhold(so->so_cred);
|
H A D | in_pcb.c | 280 inp->inp_cred = crhold(so->so_cred);
|
H A D | tcp_syncache.c | 1080 cred = crhold(so->so_cred);
|
H A D | sctp_pcb.c | 2469 inp->ip_inp.inp.inp_cred = crhold(so->so_cred);
|
H A D | sctp_usrreq.c | 428 cru2x(inp->sctp_socket->so_cred, &xuc);
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 166 ssk->cred = crhold(child->so_cred);
|
H A D | sdp_main.c | 465 ssk->cred = crhold(so->so_cred);
|
Completed in 303 milliseconds