commit | b28fe09e746d185c324670d2abb5601de44c187d | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris1000@users.noreply.github.com> | Fri Mar 29 14:19:10 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 29 14:23:06 2024 -0700 |
tree | 13098550a93a66a3397400f77610c6ebb8785720 | |
parent | 85dd2cec1eecfa0053d0b71c79bd871b23b6ea4e [diff] |
[scudo] Change tests that use setrlimit to cause mmap to fail. (#87004) It appears that qemu does not actually cause mmap to fail when calling setrlimit to limit the address space size. In the two tests that use setrlimit, detect if mmap still works and skip the tests in that case. Since all Android targets should support setrlimit, compile out the mmap check code for them. GitOrigin-RevId: c0a3c5c81ff7ff9e2a90b1664d6e419bf99c1aa9