Skip to content

Commit

Permalink
Fix generation of afl-system-config.8
Browse files Browse the repository at this point in the history
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.

This PR was done while working on reproducible builds for openSUSE.
  • Loading branch information
bmwiedemann committed Jul 5, 2020
1 parent 25c3a29 commit 153469d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afl-system-config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
test "$1" = "-h" && {
test "$1" = "-h" -o "$1" = "-hh" && {
echo 'afl-system-config by Marc Heuse <mh@mh-sec.de>'
echo
echo $0
Expand Down

0 comments on commit 153469d

Please sign in to comment.