Files
erofs-linux/security
Dan Carpenter 4303ef19c6 KEYS: Propagate error code instead of returning -EINVAL
This is from a Smatch check I'm writing.

strncpy_from_user() returns -EFAULT on error so the first change just
silences a warning but doesn't change how the code works.

The other change is a bug fix because install_thread_keyring_to_cred()
can return a variety of errors such as -EINVAL, -EEXIST, -ENOMEM or
-EKEYREVOKED.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2010-06-27 07:02:34 -07:00
..
2010-05-21 09:37:29 -07:00
2010-05-06 10:56:07 +10:00
2010-05-06 10:56:07 +10:00
2010-05-17 09:27:20 +10:00