Home
last modified time | relevance | path

Searched refs:keyctl (Results 1 – 25 of 83) sorted by relevance

1234

/external/ltp/testcases/kernel/security/mmc_security/
Dchange_password.sh46 keyid=$(keyctl request mmc "mmc:key")
68 if ! keyctl update $keyid "$oldpasswd$newpasswd"; then
75 keyctl clear -3
Dremove_password.sh48 keyid=$(keyctl request mmc "mmc:key")
59 keyctl clear -3
DREADME36 keyctl request2 mmc mmc:key unlock
40 keyctl request2 mmc mmc:key assign
Dask_password.sh55 if ! keyctl instantiate $1 "$passwd" $2 >/dev/null 2>&1; then
Dassign_password.sh60 if ! keyctl instantiate $1 "$newpasswd" $2 >/dev/null 2>&1; then
Dforce_erase.sh70 keyctl clear -3
/external/ltp/testcases/commands/keyctl/
Dkeyctl01.sh71 keyctl request2 user debug:fred negate @t >temp 2>&1
77 local key=`keyctl show | awk '/debug:fred/ {print $1}'`
79 keyctl unlink $key @s >/dev/null
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl02.c60 keyctl(KEYCTL_READ, key, buffer, 4); in do_read()
69 keyctl(KEYCTL_REVOKE, key); in do_revoke()
Dkeyctl03.c51 TEST(keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING)); in do_test()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key02.c85 if (keyctl(cmd, n) == -1) { in init_key()
91 if (keyctl(cmd, n, sec) == -1) { in init_key()
/external/e2fsprogs/misc/
De4crypt.c80 static long keyctl(int cmd, ...) in keyctl() function
526 return keyctl(KEYCTL_GET_KEYRING_ID, in get_keyring_id()
535 if (keyctl(KEYCTL_DESCRIBE, x, NULL, 0) < 0) in get_keyring_id()
572 rc = keyctl(KEYCTL_SEARCH, keyring_id, EXT2FS_KEY_TYPE_LOGON, in insert_key_into_keyring()
805 keyid = keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL); in do_new_session()
810 ret = keyctl(KEYCTL_SESSION_TO_PARENT, NULL); in do_new_session()
/external/f2fs-tools/tools/
Df2fscrypt.c125 static long keyctl(int cmd, ...) in keyctl() function
566 return keyctl(KEYCTL_GET_KEYRING_ID, in get_keyring_id()
575 if (keyctl(KEYCTL_DESCRIBE, x, NULL, 0) < 0) in get_keyring_id()
612 rc = keyctl(KEYCTL_SEARCH, keyring_id, F2FS_KEY_TYPE_LOGON, in insert_key_into_keyring()
844 keyid = keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL); in do_new_session()
849 ret = keyctl(KEYCTL_SESSION_TO_PARENT, NULL); in do_new_session()
/external/ltp/m4/
Dltp-keyctl.m424 AC_CHECK_HEADERS([linux/keyctl.h])
/external/ltp/testcases/kernel/include/
Daarch64.in221 keyctl 219
Dia64.in242 keyctl 1273
Dx86_64.in250 keyctl 250
Ds390.in200 keyctl 280
Dsparc.in285 keyctl 283
Ds390x.in200 keyctl 280
Dsparc64.in261 keyctl 283
Di386.in283 keyctl 288
Dpowerpc.in267 keyctl 271
Dpowerpc64.in267 keyctl 271
Dsh.in310 keyctl 315
/external/strace/tests/
Dpure_executables.am125 keyctl \

1234