aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/fs_whitelist.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c
index fd9115a5e..073e247dc 100644
--- a/src/firejail/fs_whitelist.c
+++ b/src/firejail/fs_whitelist.c
@@ -64,7 +64,6 @@ static void whitelist_path(ProfileEntry *entry) {
64 char *wfile; 64 char *wfile;
65 65
66 if (entry->home_dir) { 66 if (entry->home_dir) {
67printf("here %d\n", __LINE__);
68 fname = path + strlen(cfg.homedir); 67 fname = path + strlen(cfg.homedir);
69 if (*fname == '\0') { 68 if (*fname == '\0') {
70 fprintf(stderr, "Error: file %s is not in user home directory, exiting...\n", path); 69 fprintf(stderr, "Error: file %s is not in user home directory, exiting...\n", path);
@@ -75,7 +74,6 @@ printf("here %d\n", __LINE__);
75 errExit("asprintf"); 74 errExit("asprintf");
76 } 75 }
77 else if (entry->tmp_dir) { 76 else if (entry->tmp_dir) {
78printf("here %d\n", __LINE__);
79 fname = path + 4; // strlen("/tmp") 77 fname = path + 4; // strlen("/tmp")
80 if (*fname == '\0') { 78 if (*fname == '\0') {
81 fprintf(stderr, "Error: file %s is not in /tmp directory, exiting...\n", path); 79 fprintf(stderr, "Error: file %s is not in /tmp directory, exiting...\n", path);
@@ -87,9 +85,6 @@ printf("here %d\n", __LINE__);
87 } 85 }
88 86
89 // check if the file exists 87 // check if the file exists
90printf("here %d %s\n", __LINE__, wfile);
91system("ls -l /run/firejail/mnt/orig-tmp");
92
93 struct stat s; 88 struct stat s;
94 if (stat(wfile, &s) == 0) { 89 if (stat(wfile, &s) == 0) {
95 if (arg_debug) 90 if (arg_debug)