Searched refs:need_perm (Results 1 – 9 of 9) sorted by relevance
/linux/security/keys/ |
A D | permission.c | 27 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 D | process_keys.c | 612 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 D | internal.h | 185 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/include/linux/ |
A D | key.h | 441 enum key_need_perm need_perm);
|
A D | security.h | 1856 enum key_need_perm need_perm); 1874 enum key_need_perm need_perm) in security_key_permission() argument
|
A D | lsm_hook_defs.h | 375 enum key_need_perm need_perm)
|
/linux/security/ |
A D | security.c | 2530 enum key_need_perm need_perm) in security_key_permission() argument 2532 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
|
/linux/security/smack/ |
A D | smack_lsm.c | 4275 enum key_need_perm need_perm) in smack_key_permission() argument 4286 switch (need_perm) { in smack_key_permission()
|
/linux/security/selinux/ |
A D | hooks.c | 6681 enum key_need_perm need_perm) in selinux_key_permission() argument 6687 switch (need_perm) { in selinux_key_permission()
|
Completed in 42 milliseconds