| Index: sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc
|
| diff --git a/sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc b/sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc
|
| index 7ddf6fb5f37293fad321d2b7f4c7453eba99b8b0..2532e8306e2c4daa136c5b38a6c886a9e4303d27 100644
|
| --- a/sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc
|
| +++ b/sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc
|
| @@ -653,6 +653,10 @@ ResultExpr RedirectAllSyscallsPolicy::EvaluateSyscall(int sysno) const {
|
| return UnsafeTrap(AllowRedirectedSyscall, NULL);
|
| }
|
|
|
| +#if !defined(ADDRESS_SANITIZER)
|
| +// ASan does not allow changing the signal handler for SIGBUS, and treats it as
|
| +// a fatal signal.
|
| +
|
| int bus_handler_fd_ = -1;
|
|
|
| void SigBusHandler(int, siginfo_t* info, void* void_context) {
|
| @@ -681,6 +685,7 @@ BPF_TEST_C(SandboxBPF, SigBus, RedirectAllSyscallsPolicy) {
|
| BPF_ASSERT(close(fds[1]) == 0);
|
| BPF_ASSERT(c == 0x55);
|
| }
|
| +#endif // !defined(ADDRESS_SANITIZER)
|
|
|
| BPF_TEST_C(SandboxBPF, SigMask, RedirectAllSyscallsPolicy) {
|
| // Signal masks are potentially tricky to handle. For instance, if we
|
|
|