diff options
| author | Mark Johnston <markjdb@gmail.com> | 2020-08-07 12:48:58 -0400 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-08-08 11:09:48 +0200 |
| commit | 01975a06cb1a7b426ae17985374f2fff3ec38b62 (patch) | |
| tree | a10683c2345a620f0db29654d6fd4e6083e578c5 /executor/executor_test.h | |
| parent | 594e57536fbab6e403f888f0831240448ffc810d (diff) | |
executor: always ignore SIGBUS on FreeBSD
syz-executor uses a heuristic to help fail closed if an invalid access
might corrupt the output region. This heuristic fails on FreeBSD, where
SIGBUS is delievered with si_addr equal to address of the faulting
instruction, rather than 0 when the fault address cannot be determined
(e.g., an amd64 protection fault). Always handle SIGBUS quietly on
FreeBSD.
This fixes pkg/runtest tests for sys/test/test/nonfailing.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
