| /xnu-8019.80.24/bsd/kern/ |
| H A D | tty_tty.c | 171 context.vc_ucred = NOCRED; in cttyread() 191 context.vc_ucred = NOCRED; in cttywrite() 226 context.vc_ucred = NOCRED; in cttyioctl() 242 context.vc_ucred = NOCRED; in cttyselect()
|
| H A D | kern_fork.c | 907 proc_set_ucred(p, NOCRED); in forkproc_free() 1501 kauth_cred_set(&ucred, NOCRED); in uthread_cred_free()
|
| H A D | kern_sig.c | 323 kauth_cred_t uc_dst = NOCRED, uc_ref = NOCRED; in cansignal_nomac() 338 if (uc_ref != NOCRED) { in cansignal_nomac() 340 uc_ref = NOCRED; in cansignal_nomac()
|
| H A D | kern_credential.c | 4732 *credp = NOCRED; 4840 *new_credp = NOCRED; 4918 assert(cred != NOCRED && cred != FSCRED); in kauth_cred_dup()
|
| H A D | kern_persona.c | 482 kauth_cred_set(&persona->pna_cred, NOCRED); in persona_put()
|
| H A D | ubc_subr.c | 965 uip->ui_ucred = NOCRED; in ubc_info_init_internal() 1302 return NOCRED; in ubc_getcred()
|
| H A D | kern_exit.c | 2129 kauth_cred_set(&cred, NOCRED); in reap_child_locked()
|
| H A D | kern_descrip.c | 199 fg->fg_cred = NOCRED; in fg_free()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | ucred.h | 157 #define NOCRED ((kauth_cred_t )0) /* no credential available */ macro 160 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED)
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_cache.c | 1031 vp->v_cred = NOCRED; in vnode_update_identity() 1061 kauth_cred_set(&tcred, NOCRED); in vnode_update_identity() 1225 kauth_cred_set(&target_vp_cred, NOCRED); in vnode_setasfirmlink() 1228 kauth_cred_set(&old_target_vp_cred, NOCRED); in vnode_setasfirmlink() 1346 kauth_cred_t tcred = NOCRED; in vnode_uncache_authorized_action() 1358 vp->v_cred = NOCRED; in vnode_uncache_authorized_action() 1362 kauth_cred_set(&tcred, NOCRED); in vnode_uncache_authorized_action() 1422 kauth_cred_t tcred = NOCRED; in vnode_cache_authorized_action() 1463 vp->v_cred = NOCRED; in vnode_cache_authorized_action() 1482 kauth_cred_set(&tcred, NOCRED); in vnode_cache_authorized_action() [all …]
|
| H A D | vfs_vnops.c | 1590 error = mac_vnode_check_stat(ctx, NOCRED, vp); in vn_stat() 1602 return vn_stat_noauth(vp, sb, xsec, isstat64, needsrealdev, ctx, NOCRED); in vn_stat()
|
| H A D | vfs_attrlist.c | 1128 error = mac_vnode_check_getattr(ctx, NOCRED, vp, &va); in getvolattrlist() 3372 bufferSize, options, segflg, NULL, NOCRED); in getattrlistat_internal() 3887 NOCRED); in readdirattr()
|
| H A D | vfs_bio.c | 2142 bp->b_rcred = NOCRED; in bufhdrinit() 2143 bp->b_wcred = NOCRED; in bufhdrinit()
|
| H A D | vfs_syscalls.c | 7600 error = mac_vnode_check_truncate(ctx, NOCRED, vp); in truncate() 7616 mac_vnode_notify_truncate(ctx, NOCRED, vp); in truncate()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_node.c | 899 if (nsp->nsr_cred != NOCRED) { in nfs_vnop_inactive() 1075 if (np->n_sillyrename->nsr_cred != NOCRED) { in nfs_vnop_reclaim()
|
| H A D | nfs_serv.c | 455 error = mac_vnode_check_getattr(ctx, NOCRED, vp, &vattr); in nfsrv_getattr() 597 error = mac_vnode_check_truncate(ctx, NOCRED, vp); in nfsrv_setattr() 2260 error = mac_vnode_check_truncate(ctx, NOCRED, vp); in nfsrv_create()
|
| H A D | nfs_subs.c | 2878 cred = NOCRED; in nfsrv_hang_addrlist()
|
| H A D | nfs_vnops.c | 6786 nsp->nsr_cred = NOCRED; in nfs_sillyrename()
|
| /xnu-8019.80.24/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 572 (int *)&bsize, 1, NOCRED, &bp); in spec_read() 574 error = buf_bread(vp, bn, (int)bsize, NOCRED, &bp); in spec_read() 738 error = (int)buf_bread(vp, bn, (int)bsize, NOCRED, &bp); in spec_write()
|