summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/syscalls.master
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-12-29 15:34:59 +0000
committerjhb <jhb@FreeBSD.org>2011-12-29 15:34:59 +0000
commitcab9e82ffb3a5e2fc4e0ed75a4737d51cee8da3f (patch)
treeacd39eeb2ae13ecca105959b2a76566811d61e36 /sys/i386/linux/syscalls.master
parent7b15bf872a96f2f4221e0d54b376fcddb77a03d5 (diff)
downloadFreeBSD-src-cab9e82ffb3a5e2fc4e0ed75a4737d51cee8da3f.zip
FreeBSD-src-cab9e82ffb3a5e2fc4e0ed75a4737d51cee8da3f.tar.gz
Implement linux_fadvise64() and linux_fadvise64_64() using
kern_posix_fadvise(). Reviewed by: silence on emulation@ MFC after: 2 weeks
Diffstat (limited to 'sys/i386/linux/syscalls.master')
-rw-r--r--sys/i386/linux/syscalls.master7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 7e7965f..618d0ad 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -421,7 +421,8 @@
247 AUE_NULL UNIMPL linux_io_getevents
248 AUE_NULL UNIMPL linux_io_submit
249 AUE_NULL UNIMPL linux_io_cancel
-250 AUE_NULL STD { int linux_fadvise64(void); }
+250 AUE_NULL STD { int linux_fadvise64(int fd, l_loff_t offset, \
+ l_size_t len, int advice); }
251 AUE_NULL UNIMPL
252 AUE_EXIT STD { int linux_exit_group(int error_code); }
253 AUE_NULL STD { int linux_lookup_dcookie(void); }
@@ -447,7 +448,9 @@
270 AUE_NULL STD { int linux_tgkill(int tgid, int pid, int sig); }
271 AUE_UTIMES STD { int linux_utimes(char *fname, \
struct l_timeval *tptr); }
-272 AUE_NULL STD { int linux_fadvise64_64(void); }
+272 AUE_NULL STD { int linux_fadvise64_64(int fd, \
+ l_loff_t offset, l_loff_t len, \
+ int advice); }
273 AUE_NULL UNIMPL
274 AUE_NULL STD { int linux_mbind(void); }
275 AUE_NULL STD { int linux_get_mempolicy(void); }
OpenPOWER on IntegriCloud