summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-01-20 22:10:47 -0500
committerRich Felker <dalias@aerifal.cx>2012-01-20 22:10:47 -0500
commit26f38328d66f4bd525e9d21a9245ba4c54d6ca10 (patch)
tree8b98756234e60b896cbbe0f17b5ffc84fbcc2f58 /arch/i386
parent0b6dc0974426238cfe8fbb01ef64e7911f2da678 (diff)
downloadmusl-26f38328d66f4bd525e9d21a9245ba4c54d6ca10.tar.gz
add prlimit syscall wrapper
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/bits/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h
index 8d673186..1147e9f3 100644
--- a/arch/i386/bits/syscall.h
+++ b/arch/i386/bits/syscall.h
@@ -470,6 +470,7 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
#define __NR_inotify_init1 332
#define __NR_preadv 333
#define __NR_pwritev 334
+#define __NR_prlimit64 340
/* fixup legacy 16-bit junk */
#undef __NR_lchown
@@ -881,6 +882,7 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
#define SYS_inotify_init1 332
#define SYS_preadv 333
#define SYS_pwritev 334
+#define SYS_prlimit64 340
/* fixup legacy 16-bit junk */
#undef SYS_lchown