aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-10-14 14:54:08 +0000
committerLibravatar GitHub <noreply@github.com>2019-10-14 14:54:08 +0000
commit3ea8e22990e3220de44a54d35ffb66a438333d57 (patch)
tree8fd90b6e1bf298995618ed83e02b8d76ed98b5c8 /src
parentFix typo in pandoc.profile (diff)
downloadfirejail-3ea8e22990e3220de44a54d35ffb66a438333d57.tar.gz
firejail-3ea8e22990e3220de44a54d35ffb66a438333d57.tar.zst
firejail-3ea8e22990e3220de44a54d35ffb66a438333d57.zip
blacklist runtime profile directory
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c
index 4fde3d661..0f920996d 100644
--- a/src/firejail/fs.c
+++ b/src/firejail/fs.c
@@ -715,6 +715,8 @@ void disable_config(void) {
715 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_BANDWIDTH_DIR); 715 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_BANDWIDTH_DIR);
716 if (stat(RUN_FIREJAIL_NAME_DIR, &s) == 0) 716 if (stat(RUN_FIREJAIL_NAME_DIR, &s) == 0)
717 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_NAME_DIR); 717 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_NAME_DIR);
718 if (stat(RUN_FIREJAIL_PROFILE_DIR, &s) == 0)
719 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_PROFILE_DIR);
718 if (stat(RUN_FIREJAIL_X11_DIR, &s) == 0) 720 if (stat(RUN_FIREJAIL_X11_DIR, &s) == 0)
719 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_X11_DIR); 721 disable_file(BLACKLIST_FILE, RUN_FIREJAIL_X11_DIR);
720} 722}