diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-12-19 19:36:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 19:36:08 +0000 |
commit | 81997259ef3d28193e806d1e413c562927fd7631 (patch) | |
tree | 219dd2e361c8e2a48466b33fa1d3fd74de1a0759 /src | |
parent | Fix private-etc ordering in seahorse-tool (diff) | |
download | firejail-81997259ef3d28193e806d1e413c562927fd7631.tar.gz firejail-81997259ef3d28193e806d1e413c562927fd7631.tar.zst firejail-81997259ef3d28193e806d1e413c562927fd7631.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 'src')
-rw-r--r-- | src/firejail/fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 3ba968004..316057ec5 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -642,7 +642,8 @@ void fs_proc_sys_dev_boot(void) { | |||
642 | // various /proc files | 642 | // various /proc files |
643 | disable_file(BLACKLIST_FILE, "/proc/irq"); | 643 | disable_file(BLACKLIST_FILE, "/proc/irq"); |
644 | disable_file(BLACKLIST_FILE, "/proc/bus"); | 644 | disable_file(BLACKLIST_FILE, "/proc/bus"); |
645 | disable_file(BLACKLIST_FILE, "/proc/config.gz"); | 645 | // move /proc/config.gz to disable-common.inc |
646 | //disable_file(BLACKLIST_FILE, "/proc/config.gz"); | ||
646 | disable_file(BLACKLIST_FILE, "/proc/sched_debug"); | 647 | disable_file(BLACKLIST_FILE, "/proc/sched_debug"); |
647 | disable_file(BLACKLIST_FILE, "/proc/timer_list"); | 648 | disable_file(BLACKLIST_FILE, "/proc/timer_list"); |
648 | disable_file(BLACKLIST_FILE, "/proc/timer_stats"); | 649 | disable_file(BLACKLIST_FILE, "/proc/timer_stats"); |