fix output from echo on NetBSD, now enables users to set cpu

This commit is contained in:
hexcoder- 2019-10-11 23:20:32 +02:00
parent 95bdb47f01
commit a9404fe33f

View File

@ -51,7 +51,7 @@ fi
if [ "$PLATFORM" = "NetBSD" ] ; then if [ "$PLATFORM" = "NetBSD" ] ; then
echo echo
echo It is recommended to enable unprivileged users to set cpu affinity echo It is recommended to enable unprivileged users to set cpu affinity
to be able to use afl-gotcpu meaningfully. echo to be able to use afl-gotcpu meaningfully.
/sbin/sysctl -w security.models.extensions.user_set_cpu_affinity=1 /sbin/sysctl -w security.models.extensions.user_set_cpu_affinity=1
fi fi
if [ "$PLATFORM" = "Darwin" ] ; then if [ "$PLATFORM" = "Darwin" ] ; then