Lines Matching defs:action
209 kauth_action_t action;
370 /* compute action to be authorized */
371 action = 0;
373 action |= KAUTH_VNODE_READ_DATA;
383 action |= KAUTH_VNODE_APPEND_DATA;
385 action |= KAUTH_VNODE_WRITE_DATA;
388 if ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)
451 * Authorize an action against a vnode. This has been the canonical way to
462 kauth_action_t action;
464 action = 0;
466 action |= KAUTH_VNODE_READ_DATA;
468 action |= KAUTH_VNODE_WRITE_DATA;
470 action |= KAUTH_VNODE_EXECUTE;
472 return(vnode_authorize(vp, NULL, action, context));