From b8622ab60f3d9d0551aefe50b95c7578e8ed90f8 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Mon, 14 Jun 2004 09:04:02 -0700 Subject: [PATCH] [PATCH] __user annotation for selinux_shm_shmat Add proper __user annotation to selinux_shm_shmat. From: Mika Kukkonen Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds --- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a66f91304ddb6..c447232c6ae4c 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -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; -- 2.53.0