Searched refs:KEY_NEED_WRITE (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/security/keys/ |
D | keyctl.c | 126 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in SYSCALL_DEFINE5() 207 KEY_NEED_WRITE); in SYSCALL_DEFINE4() 351 key_ref = lookup_user_key(id, 0, KEY_NEED_WRITE); in keyctl_update_key() 385 key_ref = lookup_user_key(id, 0, KEY_NEED_WRITE); in keyctl_revoke_key() 473 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_clear() 520 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_link() 558 keyring_ref = lookup_user_key(ringid, 0, KEY_NEED_WRITE); in keyctl_keyring_unlink() 608 from_ref = lookup_user_key(from_ringid, 0, KEY_NEED_WRITE); in keyctl_keyring_move() 614 to_ref = lookup_user_key(to_ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_move() 748 KEY_NEED_WRITE); in keyctl_keyring_search() [all …]
|
D | permission.c | 45 case KEY_NEED_WRITE: mask = KEY_OTH_WRITE; break; in key_task_permission()
|
D | persistent.c | 154 dest_ref = lookup_user_key(destid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_get_persistent()
|
D | key.c | 760 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()
|
D | request_key.c | 349 KEY_NEED_WRITE); in construct_get_dest_keyring()
|
/kernel/linux/linux-5.10/include/linux/ |
D | key.h | 81 KEY_NEED_WRITE, /* Require permission to update / modify */ enumerator
|
/kernel/linux/linux-5.10/security/smack/ |
D | smack_lsm.c | 4285 case KEY_NEED_WRITE: in smack_key_permission()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | hooks.c | 6601 case KEY_NEED_WRITE: in selinux_key_permission()
|