diff options
-rw-r--r-- | src/firejail/sandbox.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index e56526f34..81cce7e98 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -630,10 +630,6 @@ int sandbox(void* sandbox_arg) { | |||
630 | #ifdef HAVE_OVERLAYFS | 630 | #ifdef HAVE_OVERLAYFS |
631 | if (arg_overlay) { | 631 | if (arg_overlay) { |
632 | fs_overlayfs(); | 632 | fs_overlayfs(); |
633 | |||
634 | //todo - bring it back for overlay-named | ||
635 | #if 0 | ||
636 | fs_overlayfs(); | ||
637 | // force caps and seccomp if not started as root | 633 | // force caps and seccomp if not started as root |
638 | if (getuid() != 0) { | 634 | if (getuid() != 0) { |
639 | enforce_filters(); | 635 | enforce_filters(); |
@@ -643,10 +639,6 @@ int sandbox(void* sandbox_arg) { | |||
643 | } | 639 | } |
644 | else | 640 | else |
645 | arg_seccomp = 1; | 641 | arg_seccomp = 1; |
646 | #endif | ||
647 | |||
648 | |||
649 | |||
650 | } | 642 | } |
651 | else | 643 | else |
652 | #endif | 644 | #endif |