summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-10-28 10:59:59 +0000
committernetchild <netchild@FreeBSD.org>2006-10-28 10:59:59 +0000
commit963ac453db05c1bc7038ec526ac5fc55192d4171 (patch)
tree35564ebb9838ad07de84ad6a3cd948742bc6dc50 /sys/amd64
parentd6a1b3d7dc16f096b80af154e8f00218f56c9e1a (diff)
downloadFreeBSD-src-963ac453db05c1bc7038ec526ac5fc55192d4171.zip
FreeBSD-src-963ac453db05c1bc7038ec526ac5fc55192d4171.tar.gz
MFP4:
Implement prctl(). Submitted by: rdivacky Tested with: LTP
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/linux32/linux32_dummy.c1
-rw-r--r--sys/amd64/linux32/syscalls.master3
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_dummy.c b/sys/amd64/linux32/linux32_dummy.c
index 2d1e4f5..fc4d551 100644
--- a/sys/amd64/linux32/linux32_dummy.c
+++ b/sys/amd64/linux32/linux32_dummy.c
@@ -53,7 +53,6 @@ DUMMY(bdflush);
DUMMY(sysfs);
DUMMY(query_module);
DUMMY(nfsservctl);
-DUMMY(prctl);
DUMMY(rt_sigtimedwait);
DUMMY(rt_sigqueueinfo);
DUMMY(capget);
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 6836441..10e9999 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -298,7 +298,8 @@
l_gid16_t egid, l_gid16_t sgid); }
171 AUE_GETRESGID STD { int linux_getresgid16(l_gid16_t *rgid, \
l_gid16_t *egid, l_gid16_t *sgid); }
-172 AUE_PRCTL STD { int linux_prctl(void); }
+172 AUE_PRCTL STD { int linux_prctl(l_int option, l_int arg2, l_int arg3, \
+ l_int arg4, l_int arg5); }
173 AUE_NULL STD { int linux_rt_sigreturn( \
struct l_ucontext *ucp); }
174 AUE_NULL STD { int linux_rt_sigaction(l_int sig, \
OpenPOWER on IntegriCloud