diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2020-12-31 21:58:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 21:58:53 +0000 |
commit | a83e36dde31e7a84fe8aa7c181dfbcfb0a15122e (patch) | |
tree | 11c65d1789ff7117fea619b974c3425142f1500a /etc | |
parent | Merge pull request #3760 from kmk3/fix-keepassxc (diff) | |
download | firejail-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
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-m-z/zcat.profile | 2 | ||||
-rw-r--r-- | etc/profile-m-z/zgrep.profile | 2 |
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 |
11 | noblacklist ${PATH}/bash | ||
12 | noblacklist ${PATH}/sh | ||
11 | noblacklist /proc/config.gz | 13 | noblacklist /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 |
11 | noblacklist ${PATH}/bash | ||
12 | noblacklist ${PATH}/sh | ||
11 | noblacklist /proc/config.gz | 13 | noblacklist /proc/config.gz |
12 | 14 | ||
13 | # Redirect | 15 | # Redirect |