Searched refs:KEY_LOOKUP_CREATE (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/security/keys/ |
D | keyctl.c | 124 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in SYSCALL_DEFINE5() 207 dest_ref = lookup_user_key(destringid, KEY_LOOKUP_CREATE, in SYSCALL_DEFINE4() 265 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID() 474 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() 526 key_ref = lookup_user_key(id, KEY_LOOKUP_CREATE, KEY_NEED_LINK); in keyctl_keyring_link() 604 key_ref = lookup_user_key(id, KEY_LOOKUP_CREATE, KEY_NEED_LINK); in keyctl_keyring_move() 614 to_ref = lookup_user_key(to_ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_move() 747 dest_ref = lookup_user_key(destringid, KEY_LOOKUP_CREATE, in keyctl_keyring_search() 901 key_ref = lookup_user_key(id, KEY_LOOKUP_CREATE | KEY_LOOKUP_PARTIAL, in keyctl_chown_key() [all …]
|
D | process_keys.c | 632 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key() 650 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key() 673 if (lflags & KEY_LOOKUP_CREATE) in lookup_user_key() 684 lflags & KEY_LOOKUP_CREATE) { in lookup_user_key()
|
D | persistent.c | 154 dest_ref = lookup_user_key(destid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_get_persistent()
|
D | internal.h | 164 #define KEY_LOOKUP_CREATE 0x01 macro
|