Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KEYS: Flag dead keys to induce EKEYREVOKED [try torvalds#6]
Set the KEY_FLAG_DEAD flag on keys for which the type has been removed. This causes the key_permission() function to return EKEYREVOKED in response to various commands. It does not, however, prevent unlinking or clearing of keyrings from detaching the key. Signed-off-by: David Howells <[email protected]> Acked-by: Serge Hallyn <[email protected]> Signed-off-by: James Morris <[email protected]>
- Loading branch information