checksec-1.7.2-path.patch 510 B

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