disable chroot by default in /etc/firejail/firejail.config

This commit is contained in:
netblue30 2022-06-13 12:04:08 -04:00
parent 222a2d7720
commit 67dd0299fa
2 changed files with 3 additions and 2 deletions

View file

@ -25,8 +25,8 @@
# Disable U2F in browsers, default enabled.
# browser-disable-u2f yes
# Enable or disable chroot support, default enabled.
# chroot yes
# Enable or disable chroot support, default disabled
# chroot no
# Enable or disable dbus handling, default enabled.
# dbus yes

View file

@ -59,6 +59,7 @@ int checkcfg(int val) {
cfg_val[CFG_SECCOMP_ERROR_ACTION] = -1;
cfg_val[CFG_BROWSER_ALLOW_DRM] = 0;
cfg_val[CFG_ALLOW_TRAY] = 0;
cfg_val[CFG_CHROOT] = 0;
// open configuration file
const char *fname = SYSCONFDIR "/firejail.config";