about summary refs log tree commit diff
path: root/src/misc/prlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/prlimit.c')
-rw-r--r--src/misc/prlimit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/misc/prlimit.c b/src/misc/prlimit.c
deleted file mode 100644
index b9dbb446..00000000
--- a/src/misc/prlimit.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <unistd.h>
-#include <sys/resource.h>
-#include "syscall.h"
-
-int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit)
-{
-	return syscall(SYS_prlimit64, pid, resource, new_limit, old_limit);
-}