aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-03-27 17:55:45 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-03-27 17:55:45 -0400
commitdd857484553c78d917d3f940397228660e904027 (patch)
tree851f8bf5d1dcfd3d7f9f84b3a00b4cd31d76e385
parentMerge pull request #1165 from SYN-cook/patch-1 (diff)
downloadfirejail-dd857484553c78d917d3f940397228660e904027.tar.gz
firejail-dd857484553c78d917d3f940397228660e904027.tar.zst
firejail-dd857484553c78d917d3f940397228660e904027.zip
disable tmpfs on ~/.cache
-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 fc6bdc7d0..451a946b7 100644
--- a/src/firejail/fs.c
+++ b/src/firejail/fs.c
@@ -481,6 +481,7 @@ void fs_mnt(void) {
481 481
482 482
483void fs_cache(void) { 483void fs_cache(void) {
484#if 0
484 if (arg_debug) 485 if (arg_debug)
485 printf("Deploy ~/.cache tmpfs\n"); 486 printf("Deploy ~/.cache tmpfs\n");
486 char *cache; 487 char *cache;
@@ -496,6 +497,7 @@ void fs_cache(void) {
496 exit(1); 497 exit(1);
497 } 498 }
498 free(cache); 499 free(cache);
500#endif
499} 501}
500 502
501// mount /proc and /sys directories 503// mount /proc and /sys directories