switch lseek to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -79,16 +79,6 @@ asmlinkage long sys32_sendfile64(u32 out_fd, u32 in_fd,
|
||||
(loff_t __user *)offset, count);
|
||||
}
|
||||
|
||||
|
||||
/* lseek() needs a wrapper because 'offset' can be negative, but the top
|
||||
* half of the argument has been zeroed by syscall.S.
|
||||
*/
|
||||
|
||||
asmlinkage int sys32_lseek(unsigned int fd, int offset, unsigned int origin)
|
||||
{
|
||||
return sys_lseek(fd, offset, origin);
|
||||
}
|
||||
|
||||
asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg)
|
||||
{
|
||||
union semun u;
|
||||
|
@@ -76,7 +76,7 @@
|
||||
ENTRY_SAME(socket)
|
||||
/* struct stat is MAYBE identical wide and narrow ?? */
|
||||
ENTRY_COMP(newstat)
|
||||
ENTRY_DIFF(lseek)
|
||||
ENTRY_COMP(lseek)
|
||||
ENTRY_SAME(getpid) /* 20 */
|
||||
/* the 'void * data' parameter may need re-packing in wide */
|
||||
ENTRY_COMP(mount)
|
||||
|
Reference in New Issue
Block a user