aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/fs_trace.c
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2017-12-14 19:15:33 -0500
committerLibravatar startx2017 <vradu.startx@yandex.com>2017-12-14 19:15:33 -0500
commitc59a19848dd37ac12bf024ba0cc295d3338116ae (patch)
tree12f6a8d9487f6cd9cb94ab348e4226b84c31a737 /src/firejail/fs_trace.c
parentfix RELNOTES (diff)
downloadfirejail-c59a19848dd37ac12bf024ba0cc295d3338116ae.tar.gz
firejail-c59a19848dd37ac12bf024ba0cc295d3338116ae.tar.zst
firejail-c59a19848dd37ac12bf024ba0cc295d3338116ae.zip
redirect output messages to stderr
Diffstat (limited to 'src/firejail/fs_trace.c')
-rw-r--r--src/firejail/fs_trace.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/firejail/fs_trace.c b/src/firejail/fs_trace.c
index 496c2aa4e..472b69cb2 100644
--- a/src/firejail/fs_trace.c
+++ b/src/firejail/fs_trace.c
@@ -58,13 +58,11 @@ void fs_trace(void) {
58 } 58 }
59 else if (arg_tracelog) { 59 else if (arg_tracelog) {
60 fprintf(fp, "%s/libtracelog.so\n", prefix); 60 fprintf(fp, "%s/libtracelog.so\n", prefix);
61 if (!arg_quiet) 61 fmessage("Blacklist violations are logged to syslog\n");
62 printf("Blacklist violations are logged to syslog\n");
63 } 62 }
64 if (arg_seccomp_postexec) { 63 if (arg_seccomp_postexec) {
65 fprintf(fp, "%s/libpostexecseccomp.so\n", prefix); 64 fprintf(fp, "%s/libpostexecseccomp.so\n", prefix);
66 if (!arg_quiet) 65 fmessage("Post-exec seccomp protector enabled\n");
67 printf("Post-exec seccomp protector enabled\n");
68 } 66 }
69 67
70 SET_PERMS_STREAM(fp, 0, 0, S_IRUSR | S_IWRITE | S_IRGRP | S_IROTH); 68 SET_PERMS_STREAM(fp, 0, 0, S_IRUSR | S_IWRITE | S_IRGRP | S_IROTH);