Searched refs:KEY_FLAG_KEEP (Results 1 - 3 of 3) sorted by path

/linux-master/include/linux/
H A Dkey.h237 #define KEY_FLAG_KEEP 8 /* set if key should not be removed */ macro
/linux-master/security/keys/
H A Dkey.c308 key->flags |= 1 << KEY_FLAG_KEEP;
458 if (test_bit(KEY_FLAG_KEEP, &keyring->flags))
459 set_bit(KEY_FLAG_KEEP, &key->flags);
H A Dkeyctl.c375 * Keys with KEY_FLAG_KEEP set should not be revoked.
399 if (test_bit(KEY_FLAG_KEEP, &key->flags))
416 * Keys with KEY_FLAG_KEEP set should not be invalidated.
449 if (test_bit(KEY_FLAG_KEEP, &key->flags))
465 * KEY_FLAG_KEEP set for this to work. If successful, 0 will be returned.
494 if (test_bit(KEY_FLAG_KEEP, &keyring->flags))
548 * Keys or keyrings with KEY_FLAG_KEEP set should not be unlinked.
572 if (test_bit(KEY_FLAG_KEEP, &keyring->flags) &&
573 test_bit(KEY_FLAG_KEEP, &key->flags))
1453 * Keys with KEY_FLAG_KEEP se
[all...]

Completed in 381 milliseconds