/external/syzkaller/sys/linux/ |
D | key.txt | 5 include <linux/keyctl.h> 6 include <uapi/linux/keyctl.h> 22 keyctl$get_keyring_id(code const[KEYCTL_GET_KEYRING_ID], key key, create intptr) 23 keyctl$join(code const[KEYCTL_JOIN_SESSION_KEYRING], session ptr[in, key_desc, opt]) 24 keyctl$update(code const[KEYCTL_UPDATE], key key, payload buffer[in, opt], paylen len[payload]) 25 keyctl$revoke(code const[KEYCTL_REVOKE], key key) 26 keyctl$describe(code const[KEYCTL_DESCRIBE], key key, desc buffer[out], len len[desc]) 27 keyctl$clear(code const[KEYCTL_CLEAR], keyring keyring) 28 keyctl$link(code const[KEYCTL_LINK], key key, keyring keyring) 29 keyctl$unlink(code const[KEYCTL_UNLINK], key key, keyring keyring) [all …]
|
/external/ltp/testcases/commands/keyctl/ |
D | keyctl01.sh | 43 if ! keyctl 2>&1 | grep -q "keyctl $op"; then 48 local key=`keyctl request2 user debug:foo bar` 55 if ! keyctl unlink $key @s; then 98 keyctl request2 user debug:fred negate @t >temp 2>&1 105 local key=`keyctl show | awk '/debug:fred/ {print $1}'` 107 key=`keyctl show | \ 112 keyctl unlink $key @s >/dev/null
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key04.c | 39 TEST(keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL)); in do_test() 43 TEST(keyctl(KEYCTL_SETPERM, KEY_SPEC_SESSION_KEYRING, in do_test() 50 TEST(keyctl(KEYCTL_SET_REQKEY_KEYRING, in do_test() 57 TEST(keyctl(KEYCTL_READ, KEY_SPEC_SESSION_KEYRING, in do_test() 69 TEST(keyctl(KEYCTL_READ, KEY_SPEC_SESSION_KEYRING, in do_test()
|
D | request_key02.c | 81 if (keyctl(cmd, n) == -1) { in init_key() 87 if (keyctl(cmd, n, sec) == -1) { in init_key()
|
D | request_key03.c | 68 TEST(keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL)); in test_with_key_type() 117 TEST(keyctl(KEYCTL_CLEAR, KEY_SPEC_SESSION_KEYRING)); in test_with_key_type()
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl05.c | 88 TEST(keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL)); in new_session_keyring() 128 TEST(keyctl(KEYCTL_SETPERM, keyid, KEY_POS_ALL)); in test_update_nonupdatable() 136 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, plen)); in test_update_nonupdatable() 176 TEST(keyctl(KEYCTL_SETPERM, keyid, perm)); in test_update_setperm_race() 185 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, sizeof(payload))); in test_update_setperm_race()
|
D | keyctl02.c | 57 keyctl(KEYCTL_READ, key, buffer, 4); in do_read() 66 keyctl(KEYCTL_REVOKE, key); in do_revoke() 115 if (keyctl(KEYCTL_INVALIDATE, key_inv) == -1 && errno != EOPNOTSUPP) in do_test() 123 ret = keyctl(KEYCTL_REVOKE, key); in do_test()
|
D | keyctl04.c | 38 TEST(keyctl(KEYCTL_GET_KEYRING_ID, KEY_SPEC_THREAD_KEYRING, 1)); in do_test() 43 TEST(keyctl(KEYCTL_SET_REQKEY_KEYRING, KEY_REQKEY_DEFL_THREAD_KEYRING)); in do_test() 47 TEST(keyctl(KEYCTL_GET_KEYRING_ID, KEY_SPEC_THREAD_KEYRING, 0)); in do_test()
|
D | keyctl01.c | 37 TEST(keyctl(KEYCTL_GET_KEYRING_ID, KEY_SPEC_USER_SESSION_KEYRING)); in do_test() 44 TEST(keyctl(KEYCTL_READ, key)); in do_test() 49 TEST(keyctl(KEYCTL_REVOKE, key)); in do_test()
|
D | keyctl07.c | 61 TEST(keyctl(KEYCTL_READ, KEY_SPEC_PROCESS_KEYRING, in try_to_read_negative_key() 75 TEST(keyctl(KEYCTL_READ, key_id, buffer, sizeof(buffer))); in try_to_read_negative_key()
|
/external/ltp/testcases/kernel/security/mmc_security/ |
D | change_password.sh | 46 keyid=$(keyctl request mmc "mmc:key") 68 if ! keyctl update $keyid "$oldpasswd$newpasswd"; then 75 keyctl clear -3
|
D | remove_password.sh | 48 keyid=$(keyctl request mmc "mmc:key") 59 keyctl clear -3
|
D | README | 36 keyctl request2 mmc mmc:key unlock 40 keyctl request2 mmc mmc:key assign
|
/external/ltp/testcases/cve/ |
D | cve-2016-7042.c | 49 if (keyctl(KEYCTL_UPDATE, key, "b", 1)) in do_test() 62 if (keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING)) in do_test() 75 if (key > 0 && keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING)) in cleanup()
|
/external/syzkaller/pkg/report/testdata/linux/guilty/ |
D | 4 | 31 keyctl_keyring_link+0x24/0xc0 security/keys/keyctl.c:507 32 SYSC_keyctl security/keys/keyctl.c:1661 [inline] 33 SyS_keyctl+0x1af/0x290 security/keys/keyctl.c:1633
|
/external/strace/tests-mx32/ |
D | pure_executables.list | 157 keyctl 158 keyctl-Xabbrev 159 keyctl-Xraw 160 keyctl-Xverbose
|
D | pure_executables.am | 158 keyctl \ 159 keyctl-Xabbrev \ 160 keyctl-Xraw \ 161 keyctl-Xverbose \
|
D | keyctl-Xverbose.gen.test | 4 run_strace_match_diff -a41 -s10 -e trace=keyctl -Xverbose
|
/external/strace/tests/ |
D | pure_executables.list | 157 keyctl 158 keyctl-Xabbrev 159 keyctl-Xraw 160 keyctl-Xverbose
|
D | pure_executables.am | 158 keyctl \ 159 keyctl-Xabbrev \ 160 keyctl-Xraw \ 161 keyctl-Xverbose \
|
/external/strace/tests-m32/ |
D | pure_executables.list | 157 keyctl 158 keyctl-Xabbrev 159 keyctl-Xraw 160 keyctl-Xverbose
|
D | pure_executables.am | 158 keyctl \ 159 keyctl-Xabbrev \ 160 keyctl-Xraw \ 161 keyctl-Xverbose \
|
/external/ltp/include/lapi/ |
D | keyctl.h | 54 static inline long keyctl(int cmd, ...) in keyctl() function 70 return keyctl(KEYCTL_JOIN_SESSION_KEYRING, name); in keyctl_join_session_keyring()
|
/external/e2fsprogs/misc/ |
D | e4crypt.c | 80 static long keyctl(int cmd, ...) in keyctl() function 523 if (keyctl(KEYCTL_DESCRIBE, x, NULL, 0) < 0) in get_keyring_id() 560 rc = keyctl(KEYCTL_SEARCH, keyring_id, EXT2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 590 keyring_id = keyctl(KEYCTL_GET_KEYRING_ID, keyring_id, 0); in insert_key_into_keyring() 810 keyid = keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL); in do_new_session() 815 ret = keyctl(KEYCTL_SESSION_TO_PARENT, NULL); in do_new_session()
|
/external/f2fs-tools/tools/ |
D | f2fscrypt.c | 130 static long keyctl(int cmd, ...) in keyctl() function 572 return keyctl(KEYCTL_GET_KEYRING_ID, in get_keyring_id() 581 if (keyctl(KEYCTL_DESCRIBE, x, NULL, 0) < 0) in get_keyring_id() 618 rc = keyctl(KEYCTL_SEARCH, keyring_id, F2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 851 keyid = keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL); in do_new_session() 856 ret = keyctl(KEYCTL_SESSION_TO_PARENT, NULL); in do_new_session()
|