From: David Howells Date: Fri, 6 Aug 2010 15:08:27 +0000 (+0100) Subject: KEYS: request_key() should return -ENOKEY if the constructed key is negative X-Git-Tag: v2.6.36-rc1~539 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e456a124353a753e9d1fadfbf5cd459c2f197ae;p=pandora-kernel.git KEYS: request_key() should return -ENOKEY if the constructed key is negative request_key() should return -ENOKEY if the key it constructs has been negatively instantiated. Without this, request_key() can return an unusable key to its caller, and if the caller then does key_validate() that won't catch the problem. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed