linux32.c (9ff9a26b786c35ee8d2a66222924a807ec851a9f) linux32.c (d6c178e9694e7e0c7ffe0289cf4389a498cac735)
1/*
2 * Conversion between 32-bit and 64-bit native system calls.
3 *
4 * Copyright (C) 2000 Silicon Graphics, Inc.
5 * Written by Ulf Carlsson (ulfc@engr.sgi.com)
6 * sys32_execve from ia64/ia32 code, Feb 2000, Kanoj Sarcar (kanoj@sgi.com)
7 */
8#include <linux/compiler.h>

--- 119 unchanged lines hidden (view full) ---

128}
129
130SYSCALL_DEFINE4(32_ftruncate64, unsigned long, fd, unsigned long, __dummy,
131 unsigned long, a2, unsigned long, a3)
132{
133 return sys_ftruncate(fd, merge_64(a2, a3));
134}
135
1/*
2 * Conversion between 32-bit and 64-bit native system calls.
3 *
4 * Copyright (C) 2000 Silicon Graphics, Inc.
5 * Written by Ulf Carlsson (ulfc@engr.sgi.com)
6 * sys32_execve from ia64/ia32 code, Feb 2000, Kanoj Sarcar (kanoj@sgi.com)
7 */
8#include <linux/compiler.h>

--- 119 unchanged lines hidden (view full) ---

128}
129
130SYSCALL_DEFINE4(32_ftruncate64, unsigned long, fd, unsigned long, __dummy,
131 unsigned long, a2, unsigned long, a3)
132{
133 return sys_ftruncate(fd, merge_64(a2, a3));
134}
135
136SYSCALL_DEFINE5(32_llseek, unsigned long, fd, unsigned long, offset_high,
137 unsigned long, offset_low, loff_t __user *, result,
138 unsigned long, origin)
136SYSCALL_DEFINE5(32_llseek, unsigned int, fd, unsigned int, offset_high,
137 unsigned int, offset_low, loff_t __user *, result,
138 unsigned int, origin)
139{
140 return sys_llseek(fd, offset_high, offset_low, result, origin);
141}
142
143/* From the Single Unix Spec: pread & pwrite act like lseek to pos + op +
144 lseek back to original location. They fail just like lseek does on
145 non-seekable files. */
146

--- 284 unchanged lines hidden ---
139{
140 return sys_llseek(fd, offset_high, offset_low, result, origin);
141}
142
143/* From the Single Unix Spec: pread & pwrite act like lseek to pos + op +
144 lseek back to original location. They fail just like lseek does on
145 non-seekable files. */
146

--- 284 unchanged lines hidden ---