diff options
author | Chris Wright <chrisw@osdl.org> | 2004-06-14 09:03:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-14 09:03:51 -0700 |
commit | eb0c66a53df8454ff685b1f3662c6385e609a06a (patch) | |
tree | 174541112d60bfb08492c7b37f0520f0e9f7fb83 /security | |
parent | 20f284b9b64cd23b3e9e1e045797887b197231f4 (diff) | |
download | history-eb0c66a53df8454ff685b1f3662c6385e609a06a.tar.gz |
[PATCH] __user annotation for dummy_shm_shmat
Add proper __user annotation to dummy_shm_shmat.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/dummy.c b/security/dummy.c index 27fa13b5eeaf01..3e768e0503be05 100644 --- a/security/dummy.c +++ b/security/dummy.c @@ -688,7 +688,7 @@ static int dummy_shm_shmctl (struct shmid_kernel *shp, int cmd) return 0; } -static int dummy_shm_shmat (struct shmid_kernel *shp, char *shmaddr, +static int dummy_shm_shmat (struct shmid_kernel *shp, char __user *shmaddr, int shmflg) { return 0; |