Home
last modified time | relevance | path

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

/linux-6.6.21/security/keys/
Dkeyctl.c399 if (test_bit(KEY_FLAG_KEEP, &key->flags)) in keyctl_revoke_key()
449 if (test_bit(KEY_FLAG_KEEP, &key->flags)) in keyctl_invalidate_key()
494 if (test_bit(KEY_FLAG_KEEP, &keyring->flags)) in keyctl_keyring_clear()
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()
1487 if (test_bit(KEY_FLAG_KEEP, &key->flags)) { in keyctl_set_timeout()
Dkey.c308 key->flags |= 1 << KEY_FLAG_KEEP; in key_alloc()
457 if (test_bit(KEY_FLAG_KEEP, &keyring->flags)) in __key_instantiate_and_link()
458 set_bit(KEY_FLAG_KEEP, &key->flags); in __key_instantiate_and_link()
/linux-6.6.21/include/linux/
Dkey.h237 #define KEY_FLAG_KEEP 8 /* set if key should not be removed */ macro