diff options
| author | David Howells <[email protected]> | 2009-09-02 08:13:55 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-09-02 11:29:09 +0000 |
| commit | f041ae2f99d49adc914153a34a2d0e14e4389d90 (patch) | |
| tree | 02cf0a1e85920122e1059496942b979e5832ff1b /security/selinux/hooks.c | |
| parent | KEYS: Allow keyctl_revoke() on keys that have SETATTR but not WRITE perm [try... (diff) | |
| download | kernel-f041ae2f99d49adc914153a34a2d0e14e4389d90.tar.gz kernel-f041ae2f99d49adc914153a34a2d0e14e4389d90.zip | |
KEYS: Flag dead keys to induce EKEYREVOKED [try #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]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
