Commit 7c9572ce authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

Disable two failing sandbox_linux_unittests on Android L & M.

Disable:
- ParameterRestrictions.ptrace_getregs_allowed
- ParameterRestrictions.ptrace_syscall_blocked

They have been introduced recently by:
https://chromium-review.googlesource.com/c/chromium/src/+/1487519

Unfortunately, they aren't working yet on Android version L and M.

Tbr: rsesek@chromium.org
Bug: 934930
Change-Id: I22a5034ad6638ca3be7c0231c7e25445bd9720ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539849Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644724}
parent 3b580697
...@@ -415,8 +415,10 @@ class PtraceTestHarness { ...@@ -415,8 +415,10 @@ class PtraceTestHarness {
DISALLOW_COPY_AND_ASSIGN(PtraceTestHarness); DISALLOW_COPY_AND_ASSIGN(PtraceTestHarness);
}; };
// Fails on Android L and M.
// See https://crbug.com/934930
BPF_TEST_C(ParameterRestrictions, BPF_TEST_C(ParameterRestrictions,
ptrace_getregs_allowed, DISABLED_ptrace_getregs_allowed,
RestrictPtracePolicy) { RestrictPtracePolicy) {
auto tracer = [](pid_t pid) { auto tracer = [](pid_t pid) {
#if defined(__arm__) #if defined(__arm__)
...@@ -435,8 +437,10 @@ BPF_TEST_C(ParameterRestrictions, ...@@ -435,8 +437,10 @@ BPF_TEST_C(ParameterRestrictions,
PtraceTestHarness(tracer, false).Run(); PtraceTestHarness(tracer, false).Run();
} }
// Fails on Android L and M.
// See https://crbug.com/934930
BPF_TEST_C(ParameterRestrictions, BPF_TEST_C(ParameterRestrictions,
ptrace_syscall_blocked, DISABLED_ptrace_syscall_blocked,
RestrictPtracePolicy) { RestrictPtracePolicy) {
auto tracer = [](pid_t pid) { auto tracer = [](pid_t pid) {
// The tracer is about to die. Make sure the tracee is not stopped so it // The tracer is about to die. Make sure the tracee is not stopped so it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment