diff options
author | netblue30 <netblue30@yahoo.com> | 2015-11-17 09:00:41 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-11-17 09:00:41 -0500 |
commit | 12b234a81e1cc0100f2244255bece45c16de1b0b (patch) | |
tree | 1dd8e18d884c14efef007a1f57c7e39e686e0b56 | |
parent | Merge pull request #145 from brunonova/fix144 (diff) | |
download | firejail-12b234a81e1cc0100f2244255bece45c16de1b0b.tar.gz firejail-12b234a81e1cc0100f2244255bece45c16de1b0b.tar.zst firejail-12b234a81e1cc0100f2244255bece45c16de1b0b.zip |
symlink debug
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | src/firejail/fs_whitelist.c | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -18,6 +18,8 @@ License: GPL v2 | |||
18 | Firejail Authors: | 18 | Firejail Authors: |
19 | 19 | ||
20 | netblue30 (netblue30@yahoo.com) | 20 | netblue30 (netblue30@yahoo.com) |
21 | Bruno Nova (https://github.com/brunonova) | ||
22 | -- whitelist fix | ||
21 | Matt Parnell (https://github.com/ilikenwf) | 23 | Matt Parnell (https://github.com/ilikenwf) |
22 | - whitelisting for core firefox related functionality | 24 | - whitelisting for core firefox related functionality |
23 | Andrey Alekseenko (https://github.com/al42and) | 25 | 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) { | |||
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 | } |