diff options
| author | David Howells <[email protected]> | 2011-03-07 15:06:09 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2011-03-08 00:17:18 +0000 |
| commit | fdd1b94581782a2ddf9124414e5b7a5f48ce2f9c (patch) | |
| tree | ce83bfd1f0b1a7d4b9521bdb3d6afef1bff1d4f2 /scripts/selinux/genheaders/genheaders.c | |
| parent | KEYS: Add a key type op to permit the key description to be vetted (diff) | |
| download | kernel-fdd1b94581782a2ddf9124414e5b7a5f48ce2f9c.tar.gz kernel-fdd1b94581782a2ddf9124414e5b7a5f48ce2f9c.zip | |
KEYS: Add a new keyctl op to reject a key with a specified error code
Add a new keyctl op to reject a key with a specified error code. This works
much the same as negating a key, and so keyctl_negate_key() is made a special
case of keyctl_reject_key(). The difference is that keyctl_negate_key()
selects ENOKEY as the error to be reported.
Typically the key would be rejected with EKEYEXPIRED, EKEYREVOKED or
EKEYREJECTED, but this is not mandatory.
Signed-off-by: David Howells <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions
