summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2009-10-20 00:55:03 +0000
committerJiri Slaby <jslaby@suse.cz>2009-12-22 15:53:42 +0100
commitce97128bf855dd10a22bec5846194fac4bc95ea0 (patch)
tree5576b2e108c37307bb487c56b3ac0d445c746382 /include/asm-generic
parent43d99a86b591ed77a9040d5ff7d2935f7e1441b6 (diff)
unistd: add __NR_[get|set]prlimit syscall numbers
Add __NR_[get|set]prlimit syscall numbers to asm-generic. Add them also to asm-x86. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: James Morris <jmorris@namei.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/unistd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 6a0b30f78a62..fa0156f25415 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -626,9 +626,13 @@ __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
__SYSCALL(__NR_accept4, sys_accept4)
#define __NR_recvmmsg 243
__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
+#define __NR_getprlimit 244
+__SYSCALL(__NR_getprlimit, sys_getprlimit)
+#define __NR_setprlimit 245
+__SYSCALL(__NR_setprlimit, sys_setprlimit)
#undef __NR_syscalls
-#define __NR_syscalls 244
+#define __NR_syscalls 246
/*
* All syscalls below here should go away really,