summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-06-27 18:28:50 +0000
committerjhb <jhb@FreeBSD.org>2006-06-27 18:28:50 +0000
commitdff69a853ef2a388e03aefe1ccf2d04909ef8405 (patch)
treecb6f2ab0b9fc8b11fc6fae3e937411e62c1f6d28 /sys/amd64
parente3f66d999d6f25cdbeb14c8bf651286bd6c7aff3 (diff)
downloadFreeBSD-src-dff69a853ef2a388e03aefe1ccf2d04909ef8405.zip
FreeBSD-src-dff69a853ef2a388e03aefe1ccf2d04909ef8405.tar.gz
- Add a kern_semctl() helper function for __semctl(). It accepts a pointer
to a copied-in copy of the 'union semun' and a uioseg to indicate which memory space the 'buf' pointer of the union points to. This is then used in linux_semctl() and svr4_sys_semctl() to eliminate use of the stackgap. - Mark linux_ipc() and svr4_sys_semsys() MPSAFE.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/linux32/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 9af73d9..99c9cb2 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -212,7 +212,7 @@
struct l_rusage *rusage); }
115 AUE_SWAPOFF MSTD { int linux_swapoff(void); }
116 AUE_NULL MSTD { int linux_sysinfo(struct l_sysinfo *info); }
-117 AUE_NULL STD { int linux_ipc(l_uint what, l_int arg1, \
+117 AUE_NULL MSTD { int linux_ipc(l_uint what, l_int arg1, \
l_int arg2, l_int arg3, void *ptr, \
l_long arg5); }
118 AUE_FSYNC MNOPROTO { int fsync(int fd); }
OpenPOWER on IntegriCloud