Home
last modified time | relevance | path

Searched refs:IS_VALID_CRED (Results 1 – 12 of 12) sorted by relevance

/xnu-8792.41.9/bsd/sys/ !
H A Ducred.h160 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED) macro
/xnu-8792.41.9/bsd/security/audit/ !
H A Daudit_session.c995 KASSERT(IS_VALID_CRED(cred), in audit_session_ref()
1016 KASSERT(IS_VALID_CRED(cred), in audit_session_unref()
1033 KASSERT(IS_VALID_CRED(cred), in audit_session_procnew()
1051 KASSERT(IS_VALID_CRED(cred), in audit_session_procexit()
1250 if (!IS_VALID_CRED(cred)) { in audit_session_self()
1329 if (!IS_VALID_CRED(cred)) { in audit_session_port()
/xnu-8792.41.9/bsd/nfs/ !
H A Dnfs_subs.c1409 if (!IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()
1419 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()
1463 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()
1523 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()
1557 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_netopt()
1608 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_free_addrlist()
1649 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_addrlist()
1742 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
2088 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
2101 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
H A Dnfs_syscalls.c1014 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()
1171 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()
1195 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()
1737 if (IS_VALID_CRED(nwp->nd_cr)) { in nfsrv_slpfree()
H A Dnfs_socket.c801 if (IS_VALID_CRED(nd->nd_cr)) { in nfsrv_getreq()
/xnu-8792.41.9/bsd/kern/ !
H A Dkern_credential.c82 # define NULLCRED_CHECK(_c) do {if (!IS_VALID_CRED(_c)) panic("%s: bad credential %p", __FUNCTI…
4786 if (IS_VALID_CRED(new_cred)) {
4792 if (IS_VALID_CRED(old_cred)) {
4813 if (IS_VALID_CRED(old_cred)) {
H A Dubc_subr.c1220 if (IS_VALID_CRED(uip->ui_ucred)) { in ubc_info_free()
1546 if (!IS_VALID_CRED(uip->ui_ucred)) { in ubc_setthreadcred()
1606 if (!IS_VALID_CRED(credp)) { in ubc_setcred()
H A Dkern_descrip.c208 if (IS_VALID_CRED(cred)) { in fg_free()
/xnu-8792.41.9/bsd/vfs/ !
H A Dvfs_bio.c302 if (IS_VALID_CRED(bp->b_rcred)) { in buf_release_credentials()
305 if (IS_VALID_CRED(bp->b_wcred)) { in buf_release_credentials()
2246 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) { in bio_doread()
H A Dvfs_cache.c1372 IS_VALID_CRED(vp->v_cred)) { in vnode_uncache_authorized_action()
1448 if (!IS_VALID_CRED(ucred) || action == 0) { in vnode_cache_authorized_action()
H A Dkpi_vfs.c1517 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_create()
1586 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_rele()
H A Dvfs_syscalls.c6690 if (IS_VALID_CRED(context.vc_ucred)) { in access_extended()