diff options
author | 2016-03-02 09:46:43 -0500 | |
---|---|---|
committer | 2016-03-02 09:46:43 -0500 | |
commit | 33941775b1fed1f5f974b97b2681b22a8a0aaa18 (patch) | |
tree | ae7177cb71c875c467f6ada19b382a9625091b57 /src | |
parent | Merge pull request #345 from jgriffiths/more_rpm_fixes (diff) | |
download | firejail-33941775b1fed1f5f974b97b2681b22a8a0aaa18.tar.gz firejail-33941775b1fed1f5f974b97b2681b22a8a0aaa18.tar.zst firejail-33941775b1fed1f5f974b97b2681b22a8a0aaa18.zip |
debugging
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs.c | 4 | ||||
-rw-r--r-- | src/firejail/fs_whitelist.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 4d2711fcd..d9a860722 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -248,7 +248,7 @@ static void disable_file(OPERATION op, const char *filename) { | |||
248 | char* fname = realpath(filename, NULL); | 248 | char* fname = realpath(filename, NULL); |
249 | if (fname == NULL && errno != EACCES) { | 249 | if (fname == NULL && errno != EACCES) { |
250 | if (arg_debug) | 250 | if (arg_debug) |
251 | printf("Warning: %s is an invalid file, skipping...\n", filename); | 251 | printf("Warning (realpath): %s is an invalid file, skipping...\n", filename); |
252 | return; | 252 | return; |
253 | } | 253 | } |
254 | if (fname == NULL && errno == EACCES) { | 254 | if (fname == NULL && errno == EACCES) { |
@@ -275,7 +275,7 @@ static void disable_file(OPERATION op, const char *filename) { | |||
275 | } | 275 | } |
276 | else { | 276 | else { |
277 | if (arg_debug) | 277 | if (arg_debug) |
278 | printf("Warning: %s is an invalid file, skipping...\n", filename); | 278 | printf("Warning (blacklisting): %s is an invalid file, skipping...\n", filename); |
279 | } | 279 | } |
280 | 280 | ||
281 | return; | 281 | return; |
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index d394ba704..dce044cb7 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -249,7 +249,7 @@ static void whitelist_path(ProfileEntry *entry) { | |||
249 | } | 249 | } |
250 | else { | 250 | else { |
251 | if (arg_debug || arg_debug_whitelists) { | 251 | if (arg_debug || arg_debug_whitelists) { |
252 | fprintf(stderr, "Warning: %s is an invalid file, skipping...\n", path); | 252 | fprintf(stderr, "Warning (whitelisting): %s is an invalid file, skipping...\n", path); |
253 | } | 253 | } |
254 | return; | 254 | return; |
255 | } | 255 | } |