Home
last modified time | relevance | path

Searched refs:key_permission (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/Documentation/security/keys/
Drequest-key.rst155 firstly calls key_permission(SEARCH) on the keyring it's starting with,
159 matches the criteria specified, calls key_permission(SEARCH) on it to see
165 searching. It calls key_permission(SEARCH) on each keyring, and if this
/linux-6.6.21/security/keys/
Dkey.c756 ret = key_permission(key_ref, KEY_NEED_WRITE); in __key_update()
878 ret = key_permission(keyring_ref, KEY_NEED_WRITE); in __key_create_or_update()
1070 ret = key_permission(key_ref, KEY_NEED_WRITE); in key_update()
Dinternal.h206 static inline int key_permission(const key_ref_t key_ref, in key_permission() function
Drequest_key.c348 ret = key_permission(make_key_ref(dest_keyring, 1), in construct_get_dest_keyring()
Dkeyctl.c775 ret = key_permission(key_ref, KEY_NEED_LINK); in keyctl_keyring_search()
847 ret = key_permission(key_ref, KEY_NEED_READ); in keyctl_read_key()
Dkeyring.c1169 if (key_permission(make_key_ref(keyring, 0), in find_keyring_by_name()
/linux-6.6.21/arch/ia64/kernel/
Divt.S1126 ENTRY(key_permission)
1134 END(key_permission)
/linux-6.6.21/include/linux/
Dlsm_hook_defs.h386 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
/linux-6.6.21/security/
Dsecurity.c5089 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
/linux-6.6.21/security/smack/
Dsmack_lsm.c5058 LSM_HOOK_INIT(key_permission, smack_key_permission),
/linux-6.6.21/security/selinux/
Dhooks.c7194 LSM_HOOK_INIT(key_permission, selinux_key_permission),