aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-12-31 21:58:53 +0000
committerLibravatar GitHub <noreply@github.com>2020-12-31 21:58:53 +0000
commita83e36dde31e7a84fe8aa7c181dfbcfb0a15122e (patch)
tree11c65d1789ff7117fea619b974c3425142f1500a
parentMerge pull request #3760 from kmk3/fix-keepassxc (diff)
downloadfirejail-a83e36dde31e7a84fe8aa7c181dfbcfb0a15122e.tar.gz
firejail-a83e36dde31e7a84fe8aa7c181dfbcfb0a15122e.tar.zst
firejail-a83e36dde31e7a84fe8aa7c181dfbcfb0a15122e.zip
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
-rw-r--r--etc/profile-m-z/zcat.profile2
-rw-r--r--etc/profile-m-z/zgrep.profile2
2 files changed, 4 insertions, 0 deletions
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
8#include globals.local 8#include globals.local
9 9
10# Allow running kernel config check 10# Allow running kernel config check
11noblacklist ${PATH}/bash
12noblacklist ${PATH}/sh
11noblacklist /proc/config.gz 13noblacklist /proc/config.gz
12 14
13# Redirect 15# 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
8#include globals.local 8#include globals.local
9 9
10# Allow running kernel config check 10# Allow running kernel config check
11noblacklist ${PATH}/bash
12noblacklist ${PATH}/sh
11noblacklist /proc/config.gz 13noblacklist /proc/config.gz
12 14
13# Redirect 15# Redirect