Commit b8622ab6 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] __user annotation for selinux_shm_shmat

Add proper __user annotation to selinux_shm_shmat.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eb0c66a5
......@@ -3781,7 +3781,7 @@ static int selinux_shm_shmctl(struct shmid_kernel *shp, int cmd)
}
static int selinux_shm_shmat(struct shmid_kernel *shp,
char *shmaddr, int shmflg)
char __user *shmaddr, int shmflg)
{
u32 perms;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment