From a83e36dde31e7a84fe8aa7c181dfbcfb0a15122e Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Thu, 31 Dec 2020 21:58:53 +0000 Subject: really fix running kernel config check (#3859) * really fix running kernel config check archiver-common.inc includes `disable-shell.inc`, breaking $ zcat /proc/config.gz Cannot start application: Permission denied * really fix running kernel config check archiver-common.inc includes `disable-shell.inc`, breaking $ zgrep -c "CONFIG_USER_NS=y" /proc/config.gz Cannot start application: Permission denied --- etc/profile-m-z/zcat.profile | 2 ++ etc/profile-m-z/zgrep.profile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/profile-m-z/zcat.profile b/etc/profile-m-z/zcat.profile index bbac50712..cbdb081b2 100644 --- a/etc/profile-m-z/zcat.profile +++ b/etc/profile-m-z/zcat.profile @@ -8,6 +8,8 @@ include zcat.local #include globals.local # Allow running kernel config check +noblacklist ${PATH}/bash +noblacklist ${PATH}/sh noblacklist /proc/config.gz # Redirect diff --git a/etc/profile-m-z/zgrep.profile b/etc/profile-m-z/zgrep.profile index 0e7151400..dbfa4365c 100644 --- a/etc/profile-m-z/zgrep.profile +++ b/etc/profile-m-z/zgrep.profile @@ -8,6 +8,8 @@ include zgrep.local #include globals.local # Allow running kernel config check +noblacklist ${PATH}/bash +noblacklist ${PATH}/sh noblacklist /proc/config.gz # Redirect -- cgit v1.2.3-70-g09d2