Lines Matching defs:action
681 void vnode_uncache_authorized_action(vnode_t vp, kauth_action_t action)
687 vp->v_authorized_actions &= ~action;
689 if (action == KAUTH_INVALIDATE_CACHED_RIGHTS &&
704 boolean_t vnode_cache_is_authorized(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
721 if (action != KAUTH_VNODE_SEARCH || vp->v_type != VDIR)
736 if (vp->v_cred == ucred && (vp->v_authorized_actions & action) == action)
745 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
754 if (!IS_VALID_CRED(ucred) || action == 0)
767 * only cache SEARCH action for filesystems marked
771 if ( (action & ~KAUTH_VNODE_SEARCH) || vp->v_type != VDIR )
800 vp->v_authorized_actions |= action;