linux_old1/security/keys
James Morris 90bd49ab66 keys: fix sparse warning by adding __user annotation to cast
Fix the following sparse warning:

      CC      security/keys/key.o
    security/keys/keyctl.c:1297:10: warning: incorrect type in argument 2 (different address spaces)
    security/keys/keyctl.c:1297:10:    expected char [noderef] <asn:1>*buffer
    security/keys/keyctl.c:1297:10:    got char *<noident>

which appears to be caused by lack of __user annotation to the cast of
a syscall argument.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: David Howells <dhowells@redhat.com>
2009-01-01 10:32:44 +11:00
..
Makefile keys: make the keyring quotas controllable through /proc/sys 2008-04-29 08:06:17 -07:00
compat.c keys: add keyctl function to get a security label 2008-04-29 08:06:16 -07:00
internal.h CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
key.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
keyctl.c keys: fix sparse warning by adding __user annotation to cast 2009-01-01 10:32:44 +11:00
keyring.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
permission.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
proc.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
process_keys.c CRED: Make execve() take advantage of copy-on-write credentials 2008-11-14 10:39:24 +11:00
request_key.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
request_key_auth.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
sysctl.c keys: make the keyring quotas controllable through /proc/sys 2008-04-29 08:06:17 -07:00
user_defined.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00