Lines Matching defs:action
396 kauth_authorize_action(kauth_scope_t scope, kauth_cred_t credential, kauth_action_t action,
403 result = scope->ks_callback(credential, scope->ks_idata, action, arg0, arg1, arg2, arg3);
422 action, arg0, arg1, arg2, arg3);
438 kauth_authorize_allow(__unused kauth_cred_t credential, __unused void *idata, __unused kauth_action_t action,
469 kauth_authorize_process(kauth_cred_t credential, kauth_action_t action, struct proc *process, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3)
471 return(kauth_authorize_action(kauth_scope_process, credential, action, (uintptr_t)process, arg1, arg2, arg3));
475 kauth_authorize_process_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t action,
478 switch(action) {
538 kauth_authorize_fileop(kauth_cred_t credential, kauth_action_t action, uintptr_t arg0, uintptr_t arg1)
551 if (action == KAUTH_FILEOP_OPEN || action == KAUTH_FILEOP_CLOSE || action == KAUTH_FILEOP_EXEC) {
560 if (action == KAUTH_FILEOP_CLOSE) {
565 kauth_authorize_action(kauth_scope_fileop, credential, action, arg0, arg1, arg2, 0);
579 kauth_authorize_generic(kauth_cred_t credential, kauth_action_t action)
584 return(kauth_authorize_action(kauth_scope_generic, credential, action, 0, 0, 0, 0));
589 kauth_authorize_generic_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t action,
592 switch(action) {