diff options
| author | van Hauser <vh@thc.org> | 2019-09-29 18:58:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-29 18:58:28 +0200 |
| commit | 293ff9d58628a03f8e3fb3a55e13e2b0d4068b4f (patch) | |
| tree | b94f928cc31ccc34851b322a467ceba90825edfa /afl-system-config | |
| parent | fb31a3bf2ed74ff0940017c3d81f36814ea1175f (diff) | |
| parent | 2109d372988d301c543ac2454abe194e337642c8 (diff) | |
| download | afl++-293ff9d58628a03f8e3fb3a55e13e2b0d4068b4f.tar.gz | |
Merge pull request #71 from devnexen/netbsd_support_upd
NetBSD various support improvements
Diffstat (limited to 'afl-system-config')
| -rwxr-xr-x | afl-system-config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/afl-system-config b/afl-system-config index 5e3103b6..a6e0efa4 100755 --- a/afl-system-config +++ b/afl-system-config @@ -48,6 +48,12 @@ if [ "$PLATFORM" = "OpenBSD" ] ; then echo echo 'System security features cannot be disabled on OpenBSD.' fi +if [ "$PLATFORM" = "FreeBSD" ] ; then +echo +echo It is recommended to enable unprivileged users to set cpu affinity +to be able to use afl-gotcpu meaningfully. +/sbin/sysctl -w security.models.extensions.user_set_cpu_affinity=1 +fi if [ "$PLATFORM" = "Darwin" ] ; then if [ $(launchctl list 2>/dev/null | grep -q '\.ReportCrash$') ] ; then echo We unload the default crash reporter here |
