Home
last modified time | relevance | path

Searched refs:key_task_permission (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/security/keys/
Dpermission.c26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission() function
92 EXPORT_SYMBOL(key_task_permission);
Dinternal.h182 extern int key_task_permission(const key_ref_t key_ref,
209 return key_task_permission(key_ref, current_cred(), need_perm); in key_permission()
Dpersistent.c111 ret = key_task_permission(persistent_ref, current_cred(), KEY_NEED_LINK); in key_get_persistent()
Dproc.c191 rc = key_task_permission(key_ref, ctx.cred, KEY_NEED_VIEW); in proc_keys_show()
Dkeyring.c616 key_task_permission(make_key_ref(key, ctx->possessed), in keyring_search_iterator()
793 key_task_permission(make_key_ref(key, ctx->possessed), in search_nested_keyrings()
916 err = key_task_permission(keyring_ref, ctx->cred, KEY_NEED_SEARCH); in keyring_search_rcu()
Drequest_key.c623 ret = key_task_permission(key_ref, current_cred(), in request_key_and_link()
Dprocess_keys.c803 ret = key_task_permission(key_ref, ctx.cred, need_perm); in lookup_user_key()