diff options
| author | Anton Lindqvist <anton@basename.se> | 2020-08-13 10:01:33 +0200 |
|---|---|---|
| committer | Anton Lindqvist <anton@basename.se> | 2020-08-14 13:46:14 +0200 |
| commit | 872ebc286c4aa445b597066672a6082a9e724b0d (patch) | |
| tree | 59ee2f4ebd4dd4fbe30a00a481247b5a676cf72e /executor/common_linux.h | |
| parent | 5ce135324a84d6de67c913f1b725e3fc5ec39535 (diff) | |
sys/openbsd: neutralize sysctl kern.maxthread
Yet another root only knob that can cause the syz-execprog process to
panic[1]. Greg is currently working on sanitizing sysctl integer knobs
in the OpenBSD kernel. This will improve the situation but preventing
fiddling with this knob is a good call anyway.
While here, restructure the code a bit making it easier to add sysctl
neutralizers.
[1] https://syzkaller.appspot.com/bug?id=40bcbbeb244998dfc4eeec90b8f8bce372882211
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
