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

/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_pcb.c290 if (kauth_cred_getuid(so->so_cred) &&
300 (kauth_cred_getuid(so->so_cred) !=
301 kauth_cred_getuid(t->inp_socket->so_cred)) &&
316 (kauth_cred_getuid(so->so_cred) !=
317 kauth_cred_getuid(t->inp_socket->so_cred)) &&
1085 inp->inp_socket->so_cred);
1087 inp->inp_socket->so_cred);
1113 inp->inp_socket->so_cred);
1115 inp->inp_socket->so_cred);
1127 local_wild->inp_socket->so_cred);
[all...]
H A Dudp6_usrreq.c661 if (!inp || !inp->inp_socket || !inp->inp_socket->so_cred) {
671 error = SYSCTL_OUT(req, inp->inp_socket->so_cred->pc_ucred,
H A Dicmp6.c3018 if (kauth_cred_issuser(so->so_cred))
3082 if (kauth_cred_issuser(so->so_cred))
H A Dipsec.c1258 if (kauth_cred_issuser(so->so_cred))
1260 if (so->so_cred != 0 && !suser(so->so_cred->pc_ucred, NULL))
/darwin-on-arm/xnu/bsd/kern/
H A Dsys_socket.c450 sb64->st_uid = kauth_cred_getuid(so->so_cred);
451 sb64->st_gid = kauth_cred_getgid(so->so_cred);
460 sb->st_uid = kauth_cred_getuid(so->so_cred);
461 sb->st_gid = kauth_cred_getgid(so->so_cred);
H A Duipc_socket2.c309 kauth_cred_ref(head->so_cred);
310 so->so_cred = head->so_cred;
1910 xso->so_uid = kauth_cred_getuid(so->so_cred);
1941 xso->so_uid = kauth_cred_getuid(so->so_cred);
H A Duipc_socket.c578 so->so_cred = kauth_cred_proc_ref(p);
710 kauth_cred_unref(&so->so_cred);
/darwin-on-arm/xnu/bsd/netinet/
H A Din_pcb.c506 if (kauth_cred_getuid(so->so_cred) &&
515 (kauth_cred_getuid(so->so_cred) !=
516 kauth_cred_getuid(t->inp_socket->so_cred)) &&
1407 inp->inp_socket->so_cred);
1409 inp->inp_socket->so_cred);
1438 inp->inp_socket->so_cred);
1440 inp->inp_socket->so_cred);
1462 local_wild_mapped->inp_socket->so_cred);
1464 local_wild_mapped->inp_socket->so_cred);
1476 local_wild->inp_socket->so_cred);
[all...]
H A Din_pcblist.c129 xso->so_uid = kauth_cred_getuid(so->so_cred);
H A Dip_fw2.c2235 #define socheckuid(a,b) (kauth_cred_getuid((a)->so_cred) != (b))
2240 (kauth_cred_getuid(pcb->inp_socket->so_cred) == (uid_t)((ipfw_insn_u32 *)cmd)->d[0]);
2249 kauth_cred_ismember_gid(pcb->inp_socket->so_cred,
/darwin-on-arm/xnu/bsd/sys/
H A Dsocketvar.h211 kauth_cred_t so_cred; /* cred of who opened the socket */ member in struct:socket

Completed in 69 milliseconds