From 12b234a81e1cc0100f2244255bece45c16de1b0b Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 17 Nov 2015 09:00:41 -0500 Subject: symlink debug --- README | 2 ++ src/firejail/fs_whitelist.c | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README b/README index eae43e5a0..9701b54b0 100644 --- a/README +++ b/README @@ -18,6 +18,8 @@ License: GPL v2 Firejail Authors: netblue30 (netblue30@yahoo.com) +Bruno Nova (https://github.com/brunonova) + -- whitelist fix Matt Parnell (https://github.com/ilikenwf) - whitelisting for core firefox related functionality Andrey 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) { char *fname = realpath(new_name, NULL); if (!fname) { // file not found, blank the entry in the list and continue - if (arg_debug) + if (arg_debug) { printf("Removed whitelist path: %s\n", entry->data); + printf("\texpanded: %s\n", new_name); + printf("\treal path: (null)\n"); + printf("\t");fflush(0); + perror("realpath"); + } *entry->data = '\0'; continue; } -- cgit v1.2.3-70-g09d2