Searched refs:so_cred (Results 1 – 16 of 16) sorted by relevance
| /f-stack/freebsd/security/mac_seeotheruids/ |
| H A D | mac_seeotheruids.c | 176 return (seeotheruids_check(cred, so->so_cred)); in seeotheruids_socket_check_visible()
|
| /f-stack/freebsd/netinet6/ |
| H A D | raw_ip6.c | 421 inp->in6p_outputopts, so->so_cred, in rip6_output() 481 error = in6_selectsrc_socket(dstsock, optp, inp, so->so_cred, in rip6_output() 827 inp, so->so_cred, scope_ambiguous, &in6a, NULL); in rip6_connect()
|
| H A D | sctp6_usrreq.c | 453 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp6_getcred()
|
| /f-stack/freebsd/security/mac_partition/ |
| H A D | mac_partition.c | 275 error = partition_check(cred->cr_label, so->so_cred->cr_label); in partition_socket_check_visible()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_socket.c | 480 crfree(so->so_cred); in sodealloc() 487 (void)chgsbsize(so->so_cred->cr_uidinfo, in sodealloc() 490 (void)chgsbsize(so->so_cred->cr_uidinfo, in sodealloc() 541 so->so_cred = crhold(cred); in socreate() 727 so->so_cred = crhold(head->so_cred); 821 so->so_cred = crhold(head->so_cred); 3919 if (so->so_cred->cr_uid != uid) 4274 xso->so_uid = so->so_cred->cr_uid;
|
| H A D | sys_socket.c | 341 ub->st_uid = so->so_cred->cr_uid; in soo_stat() 342 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
|
| H A D | kern_prot.c | 1782 error = prison_check(cred, so->so_cred); in cr_canseesocket() 1790 if (cr_canseeotheruids(cred, so->so_cred)) in cr_canseesocket() 1792 if (cr_canseeothergids(cred, so->so_cred)) in cr_canseesocket()
|
| H A D | uipc_sockbuf.c | 635 if (!chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, cc, in sbreserve_locked() 729 (void)chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, 0, in sbrelease_internal()
|
| H A D | uipc_usrreq.c | 1863 unp->unp_socket->so_cred)) { in unp_pcblist()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | socketvar.h | 105 struct ucred *so_cred; /* (a) user credentials */ member
|
| /f-stack/freebsd/sys/ |
| H A D | socketvar.h | 105 struct ucred *so_cred; /* (a) user credentials */ member
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_timewait.c | 352 tw->tw_cred = crhold(so->so_cred); in tcp_twstart()
|
| H A D | in_pcb.c | 362 if (inp->inp_socket != NULL && jailed(inp->inp_socket->so_cred)) in in_pcbinslbgrouphash() 596 inp->inp_cred = crhold(so->so_cred); in in_pcballoc()
|
| H A D | tcp_syncache.c | 1483 cred = crhold(so->so_cred); in syncache_add()
|
| H A D | sctp_pcb.c | 2417 inp->ip_inp.inp.inp_cred = crhold(so->so_cred); in sctp_inpcb_alloc()
|
| H A D | sctp_usrreq.c | 401 cru2x(inp->sctp_socket->so_cred, &xuc); in sctp_getcred()
|