lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 27 lines 842 B view raw
1From 6503848d9e0eb009e5f462116a963beacb208930 Mon Sep 17 00:00:00 2001 2From: Austin Seipp <aseipp@pobox.com> 3Date: Thu, 20 Feb 2014 00:11:44 -0600 4Subject: [PATCH] attempt to 'modprobe config' before checking kernel 5 6Signed-off-by: Austin Seipp <aseipp@pobox.com> 7--- 8 checksec.sh | 3 ++- 9 1 file changed, 2 insertions(+), 1 deletion(-) 10 11diff --git a/checksec.sh b/checksec.sh 12index dd1f72e..63acc29 100644 13--- a/checksec.sh 14+++ b/checksec.sh 15@@ -337,7 +337,8 @@ kernelcheck() { 16 printf " userspace processes, this option lists the status of kernel configuration\n" 17 printf " options that harden the kernel itself against attack.\n\n" 18 printf " Kernel config: " 19- 20+ 21+ modprobe configs 2> /dev/null 22 if [ -f /proc/config.gz ] ; then 23 kconfig="zcat /proc/config.gz" 24 printf "\033[32m/proc/config.gz\033[m\n\n" 25-- 261.8.3.2 27