Searched refs:key_task_permission (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/security/keys/ |
D | permission.c | 26 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);
|
D | internal.h | 182 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()
|
D | persistent.c | 111 ret = key_task_permission(persistent_ref, current_cred(), KEY_NEED_LINK); in key_get_persistent()
|
D | proc.c | 191 rc = key_task_permission(key_ref, ctx.cred, KEY_NEED_VIEW); in proc_keys_show()
|
D | keyring.c | 616 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()
|
D | request_key.c | 623 ret = key_task_permission(key_ref, current_cred(), in request_key_and_link()
|
D | process_keys.c | 803 ret = key_task_permission(key_ref, ctx.cred, need_perm); in lookup_user_key()
|