aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--src/firejail/fs_whitelist.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/README b/README
index eae43e5a0..9701b54b0 100644
--- a/README
+++ b/README
@@ -18,6 +18,8 @@ License: GPL v2
18Firejail Authors: 18Firejail Authors:
19 19
20netblue30 (netblue30@yahoo.com) 20netblue30 (netblue30@yahoo.com)
21Bruno Nova (https://github.com/brunonova)
22 -- whitelist fix
21Matt Parnell (https://github.com/ilikenwf) 23Matt Parnell (https://github.com/ilikenwf)
22 - whitelisting for core firefox related functionality 24 - whitelisting for core firefox related functionality
23Andrey Alekseenko (https://github.com/al42and) 25Andrey Alekseenko (https://github.com/al42and)
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c
index 3640cc711..fd2a29372 100644
--- a/src/firejail/fs_whitelist.c
+++ b/src/firejail/fs_whitelist.c
@@ -196,8 +196,13 @@ void fs_whitelist(void) {
196 char *fname = realpath(new_name, NULL); 196 char *fname = realpath(new_name, NULL);
197 if (!fname) { 197 if (!fname) {
198 // file not found, blank the entry in the list and continue 198 // file not found, blank the entry in the list and continue
199 if (arg_debug) 199 if (arg_debug) {
200 printf("Removed whitelist path: %s\n", entry->data); 200 printf("Removed whitelist path: %s\n", entry->data);
201 printf("\texpanded: %s\n", new_name);
202 printf("\treal path: (null)\n");
203 printf("\t");fflush(0);
204 perror("realpath");
205 }
201 *entry->data = '\0'; 206 *entry->data = '\0';
202 continue; 207 continue;
203 } 208 }