Lines Matching defs:action
3190 kauth_action_t action;
3198 action = 0;
3200 action |= KAUTH_VNODE_READ_DATA; /* aka KAUTH_VNODE_LIST_DIRECTORY */
3203 action |= KAUTH_VNODE_ADD_FILE |
3207 action |= KAUTH_VNODE_WRITE_DATA;
3212 action |= KAUTH_VNODE_SEARCH;
3214 action |= KAUTH_VNODE_EXECUTE;
3219 action = uflags >> 8;
3228 /* action == 0 means only check for existence */
3229 if (action != 0) {
3230 error = vnode_authorize(vp, dvp, action | KAUTH_VNODE_ACCESS, ctx);
3884 kauth_action_t action;
3897 if ((error = vnode_authattr(vp, &va, &action, ctx)) != 0)
3904 if (action && ((error = vnode_authorize(vp, NULL, action | KAUTH_VNODE_NOIMMUTABLE, ctx)) != 0))
3985 kauth_action_t action;
4005 if (((error = vnode_authattr(vp, vap, &action, ctx)) != 0) ||
4006 ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) {
4207 kauth_action_t action;
4233 if ((error = vnode_authattr(vp, &va, &action, ctx)) != 0)
4235 if (action && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0))
4275 kauth_action_t action;
4310 if ((error = vnode_authattr(vp, &va, &action, ctx)) != 0)
4312 if (action && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) {
4362 kauth_action_t action;
4385 if ((error = vnode_authattr(vp, &va, &action, ctx)) != 0) {
4392 if ((action != 0) && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) {
4483 kauth_action_t action;
4504 if ((error = vnode_authattr(vp, &va, &action, ctx)) != 0)
4506 if ((action != 0) && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0))
5935 kauth_action_t action;
5994 action = KAUTH_VNODE_LIST_DIRECTORY;
5997 action |= KAUTH_VNODE_SEARCH;
5999 if ((error = vnode_authorize(vp, NULL, action, ctx)) == 0) {