diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 84ee5ee11..83afff516 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -759,12 +759,18 @@ int sandbox(void* sandbox_arg) { | |||
759 | netns_mounts(arg_netns); | 759 | netns_mounts(arg_netns); |
760 | 760 | ||
761 | //**************************** | 761 | //**************************** |
762 | // update /proc, /sys, /dev, /boot directorymy | 762 | // update /proc, /sys, /dev, /boot directory |
763 | //**************************** | 763 | //**************************** |
764 | if (checkcfg(CFG_REMOUNT_PROC_SYS)) | 764 | if (checkcfg(CFG_REMOUNT_PROC_SYS)) |
765 | fs_proc_sys_dev_boot(); | 765 | fs_proc_sys_dev_boot(); |
766 | 766 | ||
767 | //**************************** | 767 | //**************************** |
768 | // handle /mnt and /media | ||
769 | //**************************** | ||
770 | if (checkcfg(CFG_DISABLE_MNT)) | ||
771 | fs_mnt(); | ||
772 | |||
773 | //**************************** | ||
768 | // apply the profile file | 774 | // apply the profile file |
769 | //**************************** | 775 | //**************************** |
770 | // apply all whitelist commands ... | 776 | // apply all whitelist commands ... |