diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a66f91304ddb676a13cecbd88ea839ffbd1cc33a..c447232c6ae4c7bfe4c9d101b242c54d3128d5d5 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;