diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 644255de5..a5edec714 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -710,10 +710,18 @@ static void disable_firejail_config(void) { | |||
710 | if (stat(fname, &s) == 0) | 710 | if (stat(fname, &s) == 0) |
711 | disable_file(BLACKLIST_FILE, fname); | 711 | disable_file(BLACKLIST_FILE, fname); |
712 | } | 712 | } |
713 | |||
714 | |||
715 | 713 | ||
716 | free(fname); | 714 | free(fname); |
715 | |||
716 | // disable run time information | ||
717 | if (stat(RUN_FIREJAIL_NETWORK_DIR, &s) == 0) | ||
718 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_NETWORK_DIR); | ||
719 | if (stat(RUN_FIREJAIL_BANDWIDTH_DIR, &s) == 0) | ||
720 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_BANDWIDTH_DIR); | ||
721 | if (stat(RUN_FIREJAIL_NAME_DIR, &s) == 0) | ||
722 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_NAME_DIR); | ||
723 | if (stat(RUN_FIREJAIL_X11_DIR, &s) == 0) | ||
724 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_X11_DIR); | ||
717 | } | 725 | } |
718 | 726 | ||
719 | 727 | ||