From: David Howells Date: Mon, 7 Mar 2011 15:06:09 +0000 (+0000) Subject: KEYS: Add a new keyctl op to reject a key with a specified error code X-Git-Tag: v2.6.39-rc1~486^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd1b94581782a2ddf9124414e5b7a5f48ce2f9c;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed