summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 15:37:10 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 15:37:10 +0000
commit027f6631c01acb6b110e8175335f323e7f8567fb (patch)
treeea70d441be85d0d76f0391ba8a7d2e6b9adde8ba /sys/amd64
parenta82405c150fc94a53e9856d1deea507d806e12f3 (diff)
downloadFreeBSD-src-027f6631c01acb6b110e8175335f323e7f8567fb.zip
FreeBSD-src-027f6631c01acb6b110e8175335f323e7f8567fb.tar.gz
MFC r283401:
Implement prlimit64() system call.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/linux32/linux32_dummy.c2
-rw-r--r--sys/amd64/linux32/syscalls.master5
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/amd64/linux32/linux32_dummy.c b/sys/amd64/linux32/linux32_dummy.c
index bcf28ea..46bb2a4 100644
--- a/sys/amd64/linux32/linux32_dummy.c
+++ b/sys/amd64/linux32/linux32_dummy.c
@@ -134,8 +134,6 @@ DUMMY(perf_event_open);
DUMMY(recvmmsg);
DUMMY(fanotify_init);
DUMMY(fanotify_mark);
-/* linux 2.6.36: */
-DUMMY(prlimit64);
/* later: */
DUMMY(name_to_handle_at);
DUMMY(open_by_handle_at);
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 53fd315..a6e19f0 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -554,7 +554,10 @@
338 AUE_NULL STD { int linux_fanotify_init(void); }
339 AUE_NULL STD { int linux_fanotify_mark(void); }
; linux 2.6.36:
-340 AUE_NULL STD { int linux_prlimit64(void); }
+340 AUE_NULL STD { int linux_prlimit64(l_pid_t pid, \
+ l_uint resource, \
+ struct rlimit *new, \
+ struct rlimit *old); }
; later:
341 AUE_NULL STD { int linux_name_to_handle_at(void); }
342 AUE_NULL STD { int linux_open_by_handle_at(void); }
OpenPOWER on IntegriCloud