aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-11-17 09:00:41 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-11-17 09:00:41 -0500
commit12b234a81e1cc0100f2244255bece45c16de1b0b (patch)
tree1dd8e18d884c14efef007a1f57c7e39e686e0b56 /src
parentMerge pull request #145 from brunonova/fix144 (diff)
downloadfirejail-12b234a81e1cc0100f2244255bece45c16de1b0b.tar.gz
firejail-12b234a81e1cc0100f2244255bece45c16de1b0b.tar.zst
firejail-12b234a81e1cc0100f2244255bece45c16de1b0b.zip
symlink debug
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs_whitelist.c7
1 files changed, 6 insertions, 1 deletions
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 }