Lines Matching refs:credential

372 kauth_authorize_action(kauth_scope_t scope, kauth_cred_t credential, kauth_action_t action,  in kauth_authorize_action()  argument
379 result = scope->ks_callback(credential, scope->ks_idata, action, arg0, arg1, arg2, arg3); in kauth_authorize_action()
399 credential, scope->ks_listeners[i].kll_idata, in kauth_authorize_action()
417 kauth_authorize_allow(__unused kauth_cred_t credential, __unused void *idata, __unused kauth_action… in kauth_authorize_allow() argument
448 kauth_authorize_process(kauth_cred_t credential, kauth_action_t action, struct proc *process, uintp… in kauth_authorize_process() argument
450 …return kauth_authorize_action(kauth_scope_process, credential, action, (uintptr_t)process, arg1, a… in kauth_authorize_process()
454 kauth_authorize_process_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t acti… in kauth_authorize_process_callback() argument
464 if (cansignal(current_proc(), credential, (struct proc *)arg0, (int)arg1)) { in kauth_authorize_process_callback()
473 if (cantrace(current_proc(), credential, (proc_t)arg0, (int *)arg1)) { in kauth_authorize_process_callback()
523 kauth_authorize_fileop(kauth_cred_t credential, kauth_action_t action, uintptr_t arg0, uintptr_t ar… in kauth_authorize_fileop() argument
560 kauth_authorize_action(kauth_scope_fileop, credential, action, arg0, arg1, arg2, 0); in kauth_authorize_fileop()
574 kauth_authorize_generic(kauth_cred_t credential, kauth_action_t action) in kauth_authorize_generic() argument
576 if (credential == NULL) { in kauth_authorize_generic()
580 return kauth_authorize_action(kauth_scope_generic, credential, action, 0, 0, 0, 0); in kauth_authorize_generic()
584 kauth_authorize_generic_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t acti… in kauth_authorize_generic_callback() argument
590 return (kauth_cred_getuid(credential) == 0) ? in kauth_authorize_generic_callback()