/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_priv.c | 96 if (kauth_cred_getuid(cred) == 0) {
|
H A D | sysv_ipc.c | 103 uid_t uid = kauth_cred_getuid(cred); /* avoid multiple calls */
|
H A D | kern_resource.c | 208 uap->who = kauth_cred_getuid(kauth_cred_get()); 214 if (kauth_cred_getuid(my_cred) == uap->who && 261 if (kauth_cred_getuid(my_cred) == pun->who) { 358 uap->who = kauth_cred_getuid(kauth_cred_get()); 439 kauth_cred_getuid(ucred) != kauth_cred_getuid(my_cred) && 440 kauth_cred_getruid(ucred) != kauth_cred_getuid(my_cred)) { 478 kauth_cred_getuid(ucred) != kauth_cred_getuid(target_cred) && 479 kauth_cred_getruid(ucred) != kauth_cred_getuid(target_cre [all...] |
H A D | process_policy.c | 134 kauth_cred_getuid(my_cred) != kauth_cred_getuid(target_cred) && 135 kauth_cred_getruid(my_cred) != kauth_cred_getuid(target_cred))
|
H A D | sys_socket.c | 450 sb64->st_uid = kauth_cred_getuid(so->so_cred); 460 sb->st_uid = kauth_cred_getuid(so->so_cred);
|
H A D | sysv_sem.c | 728 semakptr->u.sem_perm.cuid = kauth_cred_getuid(cred); 729 semakptr->u.sem_perm.uid = kauth_cred_getuid(cred); 1000 sema[semid].u.sem_perm.cuid = kauth_cred_getuid(cred); 1001 sema[semid].u.sem_perm.uid = kauth_cred_getuid(cred);
|
H A D | kern_credential.c | 1844 * kauth_cred_getuid 1853 kauth_cred_getuid(kauth_cred_t cred) function 2198 return(kauth_cred_uid2guid(kauth_cred_getuid(cred), guidp)); 2262 return(kauth_cred_uid2ntsid(kauth_cred_getuid(cred), sidp)); 3102 return(kauth_cred_getuid(cred) == 0); 3185 return(kauth_cred_getuid(kauth_cred_get())); 5537 if (kauth_cred_getuid(cred) == object_uid && (mode_req & mode_owner) == mode_req)
|
H A D | kern_prot.c | 1835 if (kauth_cred_getuid(cred) == 0) { 2016 sec_token.val[0] = kauth_cred_getuid(my_cred); 2071 xcr->cr_uid = kauth_cred_getuid(cr);
|
H A D | kern_core.c | 279 proc_core_name(core_proc->p_comm, kauth_cred_getuid(cred),
|
H A D | kern_sysctl.c | 638 uid = kauth_cred_getuid(my_cred); 640 if ((uid != kauth_cred_getuid(kauth_cred_get())) 1230 uid = kauth_cred_getuid(my_cred); 1526 ep->e_ucred.cr_uid = kauth_cred_getuid(my_cred); 1586 ep->e_ucred.cr_uid = kauth_cred_getuid(my_cred); 1931 uid = kauth_cred_getuid(my_cred); 1934 if ((uid != kauth_cred_getuid(kauth_cred_get()))
|
H A D | proc_info.c | 261 uid = kauth_cred_getuid(my_cred); 496 pbsd->pbi_uid = kauth_cred_getuid(my_cred); 1707 uid = kauth_cred_getuid(my_cred) ; 1710 if ((uid != kauth_cred_getuid(kauth_cred_get()))
|
H A D | sysv_msg.c | 668 msqptr->u.msg_perm.cuid = kauth_cred_getuid(cred); 669 msqptr->u.msg_perm.uid = kauth_cred_getuid(cred);
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_quota.c | 239 cp->c_uid == kauth_cred_getuid(cred)) { 262 if (cp->c_uid == kauth_cred_getuid(cred)) 272 cp->c_uid == kauth_cred_getuid(cred)) { 385 uid == kauth_cred_getuid(cred)) { 407 (uid == kauth_cred_getuid(cred))) { 444 cp->c_uid == kauth_cred_getuid(cred)) { 467 if (cp->c_uid == kauth_cred_getuid(cred)) 477 cp->c_uid == kauth_cred_getuid(cred)) {
|
H A D | hfs_readwrite.c | 1629 kauth_cred_getuid(cred) != vfsp->f_owner) { 1664 kauth_cred_getuid(cred) != vfsp->f_owner) { 1690 kauth_cred_getuid(cred) != vfsp->f_owner) { 1710 kauth_cred_getuid(cred) != vfsp->f_owner) { 1741 kauth_cred_getuid(cred) != vfsp->f_owner) { 1790 kauth_cred_getuid(cred) != vfsp->f_owner) { 1869 kauth_cred_getuid(cred) != vfsp->f_owner) { 1901 kauth_cred_getuid(cred) != vfsp->f_owner) { 1944 if (kauth_cred_getuid(cred) != vfsp->f_owner && 1984 if (kauth_cred_getuid(cre [all...] |
H A D | hfs_attrlist.c | 549 cuid = kauth_cred_getuid(vfs_context_ucred(ctx)); 1056 obj_uid = kauth_cred_getuid(cred);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_pcb.c | 290 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)) && 1084 *uid = kauth_cred_getuid( 1112 *uid = kauth_cred_getuid( 1126 *uid = kauth_cred_getuid(
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_serv.c | 308 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0); 431 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0); 506 saved_uid = kauth_cred_getuid(nd->nd_cr); 539 if ((vap->va_uid == saved_uid) && (kauth_cred_getuid(nd->nd_cr) != saved_uid)) { 541 VATTR_SET(vap, va_uid, kauth_cred_getuid(nd->nd_cr)); 611 saved_uid = kauth_cred_getuid(nd->nd_cr); 742 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0); 841 saved_uid = kauth_cred_getuid(nd->nd_cr); 1198 saved_uid = kauth_cred_getuid(nd->nd_cr); 1515 saved_uid = kauth_cred_getuid(n [all...] |
H A D | nfs4_vnops.c | 158 uid = kauth_cred_getuid(vfs_context_ucred(ctx)); 1807 uid_t uid = kauth_cred_getuid(cred); 1813 if (kauth_cred_getuid(noop->noo_cred) == uid) 2288 NP(nofp->nof_np, "nfs: open(R) delegated count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2293 NP(nofp->nof_np, "nfs: open(R) count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2300 NP(nofp->nof_np, "nfs: open(W) delegated count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2305 NP(nofp->nof_np, "nfs: open(W) count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2312 NP(nofp->nof_np, "nfs: open(RW) delegated count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2317 NP(nofp->nof_np, "nfs: open(RW) count underrun, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 2326 NP(nofp->nof_np, "nfs: open(R,DW) delegated count underrun, %d", kauth_cred_getuid(nof [all...] |
H A D | nfs_vnops.c | 498 uid = kauth_cred_getuid(vfs_context_ucred(ctx)); 633 uid = kauth_cred_getuid(vfs_context_ucred(ctx)); 773 NP(np, "nfs_vnop_open: LOST %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 823 NP(np, "nfs_vnop_open: deny mode foregone on create, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred)); 839 NP(np, "nfs_vnop_open: create close error %d, %d", error, kauth_cred_getuid(nofp->nof_owner->noo_cred)); 855 NP(np, "nfs_vnop_open: error %d, %d", error, kauth_cred_getuid(noop->noo_cred)); 1071 NP(np, "nfs_vnop_close: no open file for owner, error %d, %d", error, kauth_cred_getuid(noop->noo_cred)); 1083 NP(np, "nfs_vnop_close: close error %d, %d", error, kauth_cred_getuid(noop->noo_cred)); 1095 NP(np, "nfs_vnop_close: error %d, %d", error, kauth_cred_getuid(noop->noo_cred)); 1123 kauth_cred_getuid(nof [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_pcb.c | 506 if (kauth_cred_getuid(so->so_cred) && 515 (kauth_cred_getuid(so->so_cred) != 516 kauth_cred_getuid(t->inp_socket->so_cred)) && 1406 *uid = kauth_cred_getuid( 1437 *uid = kauth_cred_getuid( 1461 *uid = kauth_cred_getuid( 1475 *uid = kauth_cred_getuid(
|
H A D | in_pcblist.c | 129 xso->so_uid = kauth_cred_getuid(so->so_cred);
|
/darwin-on-arm/xnu/bsd/vm/ |
H A D | vm_unix.c | 480 myuid = kauth_cred_getuid(mycred); 502 if ((kauth_cred_getuid(targetcred) != myuid) || 686 || ((kauth_cred_getuid(target_cred) == kauth_cred_getuid(kauth_cred_get())) &&
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_vfsops.c | 560 mp->mnt_vfsstat.f_owner = kauth_cred_getuid(kauth_cred_get());
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | kauth.h | 243 extern uid_t kauth_cred_getuid(kauth_cred_t _cred);
|
H A D | proc_internal.h | 188 p->p_uid = kauth_cred_getuid(p->p_ucred); \
|