Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/keys/
A 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()
A 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()
790 } else if (need_perm != KEY_DEFER_PERM_CHECK) { in lookup_user_key()
803 ret = key_task_permission(key_ref, ctx.cred, need_perm); in lookup_user_key()
A Dinternal.h183 enum key_need_perm need_perm);
206 enum key_need_perm need_perm) in key_permission() argument
208 return key_task_permission(key_ref, current_cred(), need_perm); in key_permission()
/linux-6.3-rc2/include/linux/
A Dkey.h455 enum key_need_perm need_perm);
A Dsecurity.h1911 enum key_need_perm need_perm);
1929 enum key_need_perm need_perm) in security_key_permission() argument
A Dlsm_hook_defs.h383 enum key_need_perm need_perm)
/linux-6.3-rc2/security/
A Dsecurity.c2636 enum key_need_perm need_perm) in security_key_permission() argument
2638 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
/linux-6.3-rc2/security/smack/
A Dsmack_lsm.c4350 enum key_need_perm need_perm) in smack_key_permission() argument
4361 switch (need_perm) { in smack_key_permission()
/linux-6.3-rc2/security/selinux/
A Dhooks.c6637 enum key_need_perm need_perm) in selinux_key_permission() argument
6643 switch (need_perm) { in selinux_key_permission()

Completed in 44 milliseconds