Searched refs:keyring_id (Results 1 – 2 of 2) sorted by relevance
/third_party/e2fsprogs/misc/ |
D | e4crypt.c | 549 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring() local 555 if (keyring_id == 0) { in insert_key_into_keyring() 561 rc = keyctl(KEYCTL_SEARCH, keyring_id, EXT2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 590 if (keyring_id == KEY_SPEC_SESSION_KEYRING) { in insert_key_into_keyring() 591 keyring_id = keyctl(KEYCTL_GET_KEYRING_ID, keyring_id, 0); in insert_key_into_keyring() 592 if (keyring_id < 0) { in insert_key_into_keyring() 599 sizeof(key), keyring_id); in insert_key_into_keyring()
|
/third_party/f2fs-tools/tools/ |
D | f2fscrypt.c | 606 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring() local 612 if (keyring_id == 0) { in insert_key_into_keyring() 618 rc = keyctl(KEYCTL_SEARCH, keyring_id, F2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 635 sizeof(key), keyring_id); in insert_key_into_keyring()
|