summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 4d052ad9759d..6741cc027ceb 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1729,7 +1729,7 @@ static inline int security_shm_shmctl (struct shmid_kernel * shp, int cmd)
}
static inline int security_shm_shmat (struct shmid_kernel * shp,
- char *shmaddr, int shmflg)
+ char __user *shmaddr, int shmflg)
{
return security_ops->shm_shmat(shp, shmaddr, shmflg);
}
@@ -2322,7 +2322,7 @@ static inline int security_shm_shmctl (struct shmid_kernel * shp, int cmd)
}
static inline int security_shm_shmat (struct shmid_kernel * shp,
- char *shmaddr, int shmflg)
+ char __user *shmaddr, int shmflg)
{
return 0;
}