aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-12-19 19:36:08 +0000
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-12-21 14:54:54 +0100
commit0d65bbf3126d4e73088b2ee5f7f4a7c3cbe9c1af (patch)
tree0d3a08dbddacdc920f7a8c8843130defe71b284a /etc
parentsmall fix (diff)
downloadfirejail-0d65bbf3126d4e73088b2ee5f7f4a7c3cbe9c1af.tar.gz
firejail-0d65bbf3126d4e73088b2ee5f7f4a7c3cbe9c1af.tar.zst
firejail-0d65bbf3126d4e73088b2ee5f7f4a7c3cbe9c1af.zip
Fix Brave's native sandbox (#3087)
* Allow user access to /proc/config.gz * Fix Brave's native sandbox * Move /proc/config.gz to disable-common.inc * Move /proc/config.gz to disable-common.inc
Diffstat (limited to 'etc')
-rw-r--r--etc/brave.profile3
-rw-r--r--etc/disable-common.inc3
2 files changed, 6 insertions, 0 deletions
diff --git a/etc/brave.profile b/etc/brave.profile
index 984fab5a8..7cd925a4c 100644
--- a/etc/brave.profile
+++ b/etc/brave.profile
@@ -20,5 +20,8 @@ whitelist ${HOME}/.config/brave
20whitelist ${HOME}/.config/BraveSoftware 20whitelist ${HOME}/.config/BraveSoftware
21whitelist ${HOME}/.gnupg 21whitelist ${HOME}/.gnupg
22 22
23# Brave sandbox needs read access to /proc/config.gz
24noblacklist /proc/config.gz
25
23# Redirect 26# Redirect
24include chromium-common.profile 27include chromium-common.profile
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index 137e4f8bd..16f231108 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -452,3 +452,6 @@ blacklist ${HOME}/Mail
452blacklist ${HOME}/mail 452blacklist ${HOME}/mail
453blacklist ${HOME}/postponed 453blacklist ${HOME}/postponed
454blacklist ${HOME}/sent 454blacklist ${HOME}/sent
455
456# kernel configuration
457blacklist /proc/config.gz