Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19a2b623 authored by Christopher Ferris's avatar Christopher Ferris Committed by android-build-merger
Browse files

Merge "Allow getrlimit/ugetrlimit syscalls in tests."

am: 5da9906a

Change-Id: I73cb4bc72179917545a1705a87689227a6e8dec6
parents d8d2a179 5da9906a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -603,6 +603,8 @@ static pid_t seccomp_fork_impl(void (*prejail)()) {
  policy += "\nclone: 1";
  policy += "\nclone: 1";
  policy += "\nsigaltstack: 1";
  policy += "\nsigaltstack: 1";
  policy += "\nnanosleep: 1";
  policy += "\nnanosleep: 1";
  policy += "\ngetrlimit: 1";
  policy += "\nugetrlimit: 1";


  FILE* tmp_file = tmpfile();
  FILE* tmp_file = tmpfile();
  if (!tmp_file) {
  if (!tmp_file) {