summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-08-24 20:21:21 +0000
committerjhb <jhb@FreeBSD.org>2004-08-24 20:21:21 +0000
commitcc23ea84d0ad17e7d69a1539947fdc50a38c6af0 (patch)
tree2adb2b3e0072e186b55581dbf999abee2995639a /sys/i386/linux
parent1ec5d22c32622b609088a0218cc5e25ef0352c34 (diff)
downloadFreeBSD-src-cc23ea84d0ad17e7d69a1539947fdc50a38c6af0.zip
FreeBSD-src-cc23ea84d0ad17e7d69a1539947fdc50a38c6af0.tar.gz
Fix the ABI wrappers to use kern_fcntl() rather than calling fcntl()
directly. This removes a few more users of the stackgap and also marks the syscalls using these wrappers MP safe where appropriate. Tested on: i386 with linux acroread5 Compiled on: i386, alpha LINT
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index efb908e..dd5e586 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -89,7 +89,7 @@
52 STD { int linux_umount(char *path, l_int flags); }
53 UNIMPL lock
54 STD { int linux_ioctl(l_uint fd, l_uint cmd, l_ulong arg); }
-55 STD { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
+55 MSTD { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
56 UNIMPL mpx
57 MNOPROTO { int setpgid(int pid, int pgid); }
58 UNIMPL ulimit
@@ -294,7 +294,7 @@
218 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); }
219 MNOPROTO { int madvise(void *addr, size_t len, int behav); }
220 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
-221 STD { int linux_fcntl64(l_uint fd, l_uint cmd, l_ulong arg); }
+221 MSTD { int linux_fcntl64(l_uint fd, l_uint cmd, l_ulong arg); }
222 UNIMPL
223 UNIMPL
224 UNIMPL linux_gettid
OpenPOWER on IntegriCloud