mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>