[PATCH] uml: more __user annotations
From: Al Viro <viro@zeniv.linux.org.uk> uml __user annotations Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@ -99,11 +99,12 @@ long sys_ipc (uint call, int first, int second,
|
||||
|
||||
switch (call) {
|
||||
case SEMOP:
|
||||
return sys_semtimedop(first, (struct sembuf *) ptr, second,
|
||||
NULL);
|
||||
return sys_semtimedop(first, (struct sembuf __user *) ptr,
|
||||
second, NULL);
|
||||
case SEMTIMEDOP:
|
||||
return sys_semtimedop(first, (struct sembuf *) ptr, second,
|
||||
(const struct timespec *) fifth);
|
||||
return sys_semtimedop(first, (struct sembuf __user *) ptr,
|
||||
second,
|
||||
(const struct timespec __user *) fifth);
|
||||
case SEMGET:
|
||||
return sys_semget (first, second, third);
|
||||
case SEMCTL: {
|
||||
|
Reference in New Issue
Block a user