Home
last modified time | relevance | path

Searched refs:need_perm (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/security/keys/
Dpermission.c27 enum key_need_perm need_perm) in key_task_permission() argument
33 switch (need_perm) { in key_task_permission()
90 return security_key_permission(key_ref, cred, need_perm); in key_task_permission()
Dprocess_keys.c612 enum key_need_perm need_perm) in lookup_user_key() argument
776 if (need_perm != KEY_NEED_UNLINK) { in lookup_user_key()
783 if (need_perm != KEY_AUTHTOKEN_OVERRIDE && in lookup_user_key()
784 need_perm != KEY_DEFER_PERM_CHECK) in lookup_user_key()
789 } else if (need_perm != KEY_DEFER_PERM_CHECK) { in lookup_user_key()
802 ret = key_task_permission(key_ref, ctx.cred, need_perm); in lookup_user_key()
Dinternal.h185 enum key_need_perm need_perm);
208 enum key_need_perm need_perm) in key_permission() argument
210 return key_task_permission(key_ref, current_cred(), need_perm); in key_permission()
/Linux-v5.10/include/linux/
Dkey.h440 enum key_need_perm need_perm);
Dsecurity.h1800 enum key_need_perm need_perm);
1818 enum key_need_perm need_perm) in security_key_permission() argument
Dlsm_hook_defs.h365 enum key_need_perm need_perm)
/Linux-v5.10/security/
Dsecurity.c2462 enum key_need_perm need_perm) in security_key_permission() argument
2464 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
/Linux-v5.10/security/smack/
Dsmack_lsm.c4268 enum key_need_perm need_perm) in smack_key_permission() argument
4279 switch (need_perm) { in smack_key_permission()
/Linux-v5.10/security/selinux/
Dhooks.c6566 enum key_need_perm need_perm) in selinux_key_permission() argument
6572 switch (need_perm) { in selinux_key_permission()