Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/security/keys/
Dkey.c760 ret = key_permission(key_ref, KEY_NEED_WRITE); in __key_update()
901 ret = key_permission(keyring_ref, KEY_NEED_WRITE); in key_create_or_update()
1010 ret = key_permission(key_ref, KEY_NEED_WRITE); in key_update()
Dinternal.h207 static inline int key_permission(const key_ref_t key_ref, in key_permission() function
Drequest_key.c345 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()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Divt.S1127 ENTRY(key_permission)
1135 END(key_permission)
/kernel/linux/linux-5.10/include/linux/
Dlsm_hook_defs.h364 LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
/kernel/linux/linux-5.10/security/
Dsecurity.c2467 return call_int_hook(key_permission, 0, key_ref, cred, need_perm); in security_key_permission()
/kernel/linux/linux-5.10/security/smack/
Dsmack_lsm.c4818 LSM_HOOK_INIT(key_permission, smack_key_permission),
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c7162 LSM_HOOK_INIT(key_permission, selinux_key_permission),