Home
last modified time | relevance | path

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

/linux/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)) in keyctl_revoke_key()
416 * Keys with KEY_FLAG_KEEP set should not be invalidated.
449 if (test_bit(KEY_FLAG_KEEP, &key->flags)) in keyctl_invalidate_key()
465 * KEY_FLAG_KEEP set for this to work. If successful, 0 will be returned.
494 if (test_bit(KEY_FLAG_KEEP, &keyring->flags)) in keyctl_keyring_clear()
548 * Keys or keyrings with KEY_FLAG_KEEP set should not be unlinked.
572 if (test_bit(KEY_FLAG_KEEP, &keyring->flags) && in keyctl_keyring_unlink()
573 test_bit(KEY_FLAG_KEEP, &key->flags)) in keyctl_keyring_unlink()
1465 * Keys with KEY_FLAG_KEEP se in keyctl_set_timeout()
[all...]
H A Dkey.c309 key->flags |= 1 << KEY_FLAG_KEEP; in key_alloc()
459 if (test_bit(KEY_FLAG_KEEP, &keyring->flags)) in __key_instantiate_and_link()
460 set_bit(KEY_FLAG_KEEP, &key->flags); in __key_instantiate_and_link()
/linux/include/linux/
H A Dkey.h237 #define KEY_FLAG_KEEP 8 /* set if key should not be removed */ macro