You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/checksec/files/checksec-1.7.2-path.patch

25 lines
510 B

From 2065e51b255b5f9c014a0db35ffe5ce9ea946693 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Wed, 6 Jan 2016 17:28:36 +0100
Subject: [PATCH] Extend ${PATH} so that sysctl is found
---
checksec | 1 +
1 file changed, 1 insertion(+)
diff --git a/checksec b/checksec
index 3660e82..0ac685f 100755
--- a/checksec
+++ b/checksec
@@ -59,6 +59,7 @@
#set global lang to C
export LC_ALL="C"
+export PATH="${PATH}:/usr/sbin/" # for sysctl
# global vars
debug=false
--
2.7.0