diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-10-25 12:12:10 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-28 17:32:15 +0100 |
| commit | d3747c722655480e783b482c959331238997733f (patch) | |
| tree | 242b4b0688ad4bbbd97152556e4403b2baf70957 /executor/executor.cc | |
| parent | b17b4f5d0ddc4b052d56ddce25188723812d93cc (diff) | |
pkg/csource: setup sysctl's in C reproducers
Sysctl's are not captured as part of reproducers.
This can result in failure to reproduce a bug on developer machine.
Include sysctl setup as part of C reproducers.
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index e759a7083..b221c2070 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -1465,8 +1465,7 @@ void setup_features(char** enable, int n) // This does any one-time setup for the requested features on the machine. // Note: this can be called multiple times and must be idempotent. #if SYZ_HAVE_FEATURES - // Note: this is not executed in C reproducers. - setup_machine(); + setup_sysctl(); #endif for (int i = 0; i < n; i++) { bool found = false; |
