summaryrefslogtreecommitdiff
path: root/extra/chkrootkit/fix-tools-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/chkrootkit/fix-tools-path.patch')
-rw-r--r--extra/chkrootkit/fix-tools-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/chkrootkit/fix-tools-path.patch b/extra/chkrootkit/fix-tools-path.patch
new file mode 100644
index 000000000..d45f07901
--- /dev/null
+++ b/extra/chkrootkit/fix-tools-path.patch
@@ -0,0 +1,11 @@
+--- chkrootkit
++++ chkrootkit
+@@ -17,6 +17,8 @@ unalias netstat > /dev/null 2>&1
+ unalias ps > /dev/null 2>&1
+ unalias dirname > /dev/null 2>&1
+
++cd /usr/sbin
++
+ # Workaround for recent GNU coreutils
+ _POSIX2_VERSION=199209
+ export _POSIX2_VERSION