original_kernel/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 <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-27 07:02:34 -07:00
..
integrity/ima kref: remove kref_set 2010-05-21 09:37:29 -07:00
keys KEYS: Propagate error code instead of returning -EINVAL 2010-06-27 07:02:34 -07:00
selinux switch selinux delayed superblock handling to iterate_supers() 2010-05-21 18:31:17 -04:00
smack
tomoyo TOMOYO: Add pathname grouping support. 2010-05-17 09:25:57 +10:00
Kconfig
Makefile
capability.c LSM: Add __init to fixup function. 2010-05-17 09:27:20 +10:00
commoncap.c
device_cgroup.c
inode.c
lsm_audit.c
min_addr.c
security.c LSM: Add __init to fixup function. 2010-05-17 09:27:20 +10:00