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

/linux-master/security/keys/
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))
1452 * Keys with KEY_FLAG_KEEP se
[all...]
H A Dkey.c307 key->flags |= 1 << KEY_FLAG_KEEP;
456 if (test_bit(KEY_FLAG_KEEP, &keyring->flags))
457 set_bit(KEY_FLAG_KEEP, &key->flags);
/linux-master/include/linux/
H A Dkey.h237 #define KEY_FLAG_KEEP 8 /* set if key should not be removed */ macro

Completed in 341 milliseconds