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

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

Merge "Allow getrlimit/ugetrlimit syscalls in tests." am: 5da9906a

am: 19a2b623

Change-Id: I7207eb6b23d71d855fc48386d8ac5b595b5318ff
parents 25034d64 19a2b623
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {