Searched refs:need_perm (Results 1 – 6 of 6) sorted by relevance
/security/keys/ |
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()
|
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()
|
D | internal.h | 186 enum key_need_perm need_perm); 209 enum key_need_perm need_perm) in key_permission() argument 211 return key_task_permission(key_ref, current_cred(), need_perm); in key_permission()
|
/security/ |
D | security.c | 2575 enum key_need_perm need_perm) in security_key_permission() argument 2577 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
|
/security/smack/ |
D | smack_lsm.c | 4295 enum key_need_perm need_perm) in smack_key_permission() argument 4306 switch (need_perm) { in smack_key_permission()
|
/security/selinux/ |
D | hooks.c | 6776 enum key_need_perm need_perm) in selinux_key_permission() argument 6782 switch (need_perm) { in selinux_key_permission()
|