diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 9423ae7e0..76efe996b 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -540,6 +540,14 @@ int sandbox(void* sandbox_arg) { | |||
540 | else | 540 | else |
541 | fs_private_homedir(); | 541 | fs_private_homedir(); |
542 | } | 542 | } |
543 | else if (cfg.home_private_keep) { // --private-home= | ||
544 | if (cfg.chrootdir) | ||
545 | fprintf(stderr, "Warning: private-home= feature is disabled in chroot\n"); | ||
546 | else if (arg_overlay) | ||
547 | fprintf(stderr, "Warning: private-home= feature is disabled in overlay\n"); | ||
548 | else | ||
549 | fs_private_home_list(); | ||
550 | } | ||
543 | else // --private | 551 | else // --private |
544 | fs_private(); | 552 | fs_private(); |
545 | } | 553 | } |