Searched refs:KEY_LOOKUP_CREATE (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | lookup_key.c | 14 #define KEY_LOOKUP_CREATE 0x01 macro 77 skel->bss->flags = KEY_LOOKUP_CREATE; in test_lookup_key() 84 skel->bss->flags = KEY_LOOKUP_CREATE | KEY_LOOKUP_PARTIAL; in test_lookup_key()
|
/linux-6.6.21/security/keys/ |
D | keyctl.c | 126 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in SYSCALL_DEFINE5() 206 dest_ref = lookup_user_key(destringid, KEY_LOOKUP_CREATE, in SYSCALL_DEFINE4() 264 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID() 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() 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() 970 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()
|
/linux-6.6.21/include/linux/ |
D | key.h | 92 KEY_LOOKUP_CREATE = 0x01, enumerator 94 KEY_LOOKUP_ALL = (KEY_LOOKUP_CREATE | KEY_LOOKUP_PARTIAL),
|
/linux-6.6.21/net/handshake/ |
D | tlshd.c | 121 KEY_LOOKUP_CREATE, in tls_handshake_private_keyring() 128 keyring_ref = lookup_user_key(treq->th_keyring, KEY_LOOKUP_CREATE, in tls_handshake_private_keyring()
|
/linux-6.6.21/arch/s390/kernel/ |
D | cert_store.c | 303 KEY_LOOKUP_CREATE, KEY_NEED_LINK); in get_user_session_keyring()
|