diff options
author | smitsohu <smitsohu@gmail.com> | 2019-10-14 14:54:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 14:54:08 +0000 |
commit | 3ea8e22990e3220de44a54d35ffb66a438333d57 (patch) | |
tree | 8fd90b6e1bf298995618ed83e02b8d76ed98b5c8 /src | |
parent | Fix typo in pandoc.profile (diff) | |
download | firejail-3ea8e22990e3220de44a54d35ffb66a438333d57.tar.gz firejail-3ea8e22990e3220de44a54d35ffb66a438333d57.tar.zst firejail-3ea8e22990e3220de44a54d35ffb66a438333d57.zip |
blacklist runtime profile directory
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs.c | 2 |
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 | } |