Index: sandbox/linux/services/syscall_wrappers.cc |
diff --git a/sandbox/linux/services/syscall_wrappers.cc b/sandbox/linux/services/syscall_wrappers.cc |
index ede4964e94d7310500e9d360355c8059088c0433..c3685197e88c7313e713c803a962b8e2f920582c 100644 |
--- a/sandbox/linux/services/syscall_wrappers.cc |
+++ b/sandbox/linux/services/syscall_wrappers.cc |
@@ -4,7 +4,9 @@ |
#include "sandbox/linux/services/syscall_wrappers.h" |
+#include <sys/resource.h> |
#include <sys/syscall.h> |
+#include <sys/time.h> |
#include <sys/types.h> |
#include <unistd.h> |
@@ -62,4 +64,11 @@ int sys_seccomp(unsigned int operation, |
return syscall(__NR_seccomp, operation, flags, args); |
} |
+int sys_prlimit64(pid_t pid, |
+ int resource, |
+ const struct rlimit64* new_limit, |
+ struct rlimit64* old_limit) { |
+ return syscall(__NR_prlimit64, pid, resource, new_limit, old_limit); |
+} |
+ |
} // namespace sandbox |