diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-05-09 00:23:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-05-09 00:23:40 -0700 |
| commit | c3a4b4b3584f7e3220f5c7b2ca8c7c81a5f75c8e (patch) | |
| tree | d5ca3ca251374f946c13b71b1514f393c2317785 /include/linux/security.h | |
| parent | 9f8e838958a8a2668a85ceff2738cd35009acb27 (diff) | |
Annotate IPC system calls with user pointer annotations
Diffstat (limited to 'include/linux/security.h')
| -rw-r--r-- | include/linux/security.h | 4 |
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; } |
