Home
last modified time | relevance | path

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

/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()
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()
Dinternal.h186 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/
Dsecurity.c2575 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/
Dsmack_lsm.c4295 enum key_need_perm need_perm) in smack_key_permission() argument
4306 switch (need_perm) { in smack_key_permission()
/security/selinux/
Dhooks.c6776 enum key_need_perm need_perm) in selinux_key_permission() argument
6782 switch (need_perm) { in selinux_key_permission()