Merge "Allow getrlimit/ugetrlimit syscalls in tests."

This commit is contained in:
Christopher Ferris 2019-09-18 00:59:20 +00:00 committed by Gerrit Code Review
commit 5da9906af0
1 changed files with 2 additions and 0 deletions

View File

@ -603,6 +603,8 @@ static pid_t seccomp_fork_impl(void (*prejail)()) {
policy += "\nclone: 1";
policy += "\nsigaltstack: 1";
policy += "\nnanosleep: 1";
policy += "\ngetrlimit: 1";
policy += "\nugetrlimit: 1";
FILE* tmp_file = tmpfile();
if (!tmp_file) {