aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyctl.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-09-02 09:13:55 +0100
committerJames Morris <jmorris@namei.org>2009-09-02 21:29:09 +1000
commitf041ae2f99d49adc914153a34a2d0e14e4389d90 (patch)
tree02cf0a1e85920122e1059496942b979e5832ff1b /security/keys/keyctl.c
parent0c2c9a3fc77e8b60d43d9bd2ca46eb4dddb0ff76 (diff)
downloadmrst-s0i3-test-f041ae2f99d49adc914153a34a2d0e14e4389d90.tar.gz
mrst-s0i3-test-f041ae2f99d49adc914153a34a2d0e14e4389d90.tar.xz
mrst-s0i3-test-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 <dhowells@redhat.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/keys/keyctl.c')
0 files changed, 0 insertions, 0 deletions