| Index: sandbox/linux/services/syscall_wrappers.h
|
| diff --git a/sandbox/linux/services/syscall_wrappers.h b/sandbox/linux/services/syscall_wrappers.h
|
| index 15ec81bf3e828ec03758ba4e4dd2056cb25424e8..64028f7d0f6d61316566ad20b1f8a260128f3f8b 100644
|
| --- a/sandbox/linux/services/syscall_wrappers.h
|
| +++ b/sandbox/linux/services/syscall_wrappers.h
|
| @@ -10,6 +10,7 @@
|
| #include "sandbox/sandbox_export.h"
|
|
|
| struct sock_fprog;
|
| +struct rlimit64;
|
|
|
| namespace sandbox {
|
|
|
| @@ -38,6 +39,12 @@ SANDBOX_EXPORT int sys_seccomp(unsigned int operation,
|
| unsigned int flags,
|
| const struct sock_fprog* args);
|
|
|
| +// Some libcs do not expose a prlimit64 wrapper.
|
| +SANDBOX_EXPORT int sys_prlimit64(pid_t pid,
|
| + int resource,
|
| + const struct rlimit64* new_limit,
|
| + struct rlimit64* old_limit);
|
| +
|
| } // namespace sandbox
|
|
|
| #endif // SANDBOX_LINUX_SERVICES_SYSCALL_WRAPPERS_H_
|
|
|