Lines Matching defs:credential
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);
421 credential, scope->ks_listeners[i].kll_idata,
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,
481 /* XXX credential wrong here */
485 if (cansignal(current_proc(), credential, (struct proc *)arg0, (int)arg1, 0))
493 if (cantrace(current_proc(), credential, (proc_t)arg0, (int *)arg1))
538 kauth_authorize_fileop(kauth_cred_t credential, kauth_action_t action, uintptr_t arg0, uintptr_t arg1)
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)
581 if (credential == NULL)
582 panic("auth against NULL credential");
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,
595 return((kauth_cred_getuid(credential) == 0) ?
607 * Determines whether the credential has the requested rights for an object secured by the supplied
636 KAUTH_DEBUG(" ACL - can't get credential GUID (%d), ACL denied", error);
683 * Verify whether this entry applies to the credential.