From 20e63078f0b3034d88cf0c2a001236cec4e12441 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Sun, 5 Jul 2020 05:19:34 +0200 Subject: Fix generation of afl-system-config.8 and afl-whatsup.8 Without this patch, afl-system-config.8 varied between build hosts because it contained lines such as ./afl-system-config: line 30: sysctl: command not found ./afl-system-config: line 31: /sys/kernel/mm/transparent_hugepage/enabled: Permission denied It is recommended to boot the kernel with lots of security off See https://reproducible-builds.org/ for why this matters. afl-system-config.8 is generated by the %.8 target in GNUmakefile that calls commands with -hh to fill the OPTIONS section of man-pages. This PR was done while working on reproducible builds for openSUSE. --- afl-system-config | 2 +- afl-whatsup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/afl-system-config b/afl-system-config index 1e180d8b..34db61aa 100755 --- a/afl-system-config +++ b/afl-system-config @@ -1,5 +1,5 @@ #!/bin/sh -test "$1" = "-h" && { +test "$1" = "-h" -o "$1" = "-hh" && { echo 'afl-system-config by Marc Heuse ' echo echo $0 diff --git a/afl-whatsup b/afl-whatsup index 1a276964..1f3a8219 100755 --- a/afl-whatsup +++ b/afl-whatsup @@ -20,7 +20,7 @@ echo "$0 status check tool for afl-fuzz by Michal Zalewski" echo -test "$1" = "-h" && { +test "$1" = "-h" -o "$1" = "-hh" && { echo $0 [-s] output_directory echo echo Options: -- cgit 1.4.1