diff options
author | netblue30 <netblue30@yahoo.com> | 2016-03-23 09:18:13 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-03-23 09:18:13 -0400 |
commit | 7d13ec6274b71fa1359b1ef8ebb966498e5b2f45 (patch) | |
tree | 7adfceb348c88c811ccbe6dc6e2be7fad61cbdb3 /src | |
parent | --quiet problem (diff) | |
download | firejail-7d13ec6274b71fa1359b1ef8ebb966498e5b2f45.tar.gz firejail-7d13ec6274b71fa1359b1ef8ebb966498e5b2f45.tar.zst firejail-7d13ec6274b71fa1359b1ef8ebb966498e5b2f45.zip |
hide firejail run time information
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 | ||