diff options
author | Stefan Hajnoczi | 2019-06-26 11:25:54 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2020-01-23 17:41:37 +0100 |
commit | f185621d41f03a23b55795b89e6584253fa23505 (patch) | |
tree | fcd1563f617e663282d2cc3b76eee14b4f53debd /tools/virtiofsd/seccomp.h | |
parent | virtiofsd: fix libfuse information leaks (diff) | |
download | qemu-f185621d41f03a23b55795b89e6584253fa23505.tar.gz qemu-f185621d41f03a23b55795b89e6584253fa23505.tar.xz qemu-f185621d41f03a23b55795b89e6584253fa23505.zip |
virtiofsd: add --syslog command-line option
Sometimes collecting output from stderr is inconvenient or does not fit
within the overall logging architecture. Add syslog(3) support for
cases where stderr cannot be used.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
dgilbert: Reworked as a logging function
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/virtiofsd/seccomp.h')
-rw-r--r-- | tools/virtiofsd/seccomp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/virtiofsd/seccomp.h b/tools/virtiofsd/seccomp.h index 86bce72652..d47c8eade6 100644 --- a/tools/virtiofsd/seccomp.h +++ b/tools/virtiofsd/seccomp.h @@ -9,6 +9,8 @@ #ifndef VIRTIOFSD_SECCOMP_H #define VIRTIOFSD_SECCOMP_H -void setup_seccomp(void); +#include <stdbool.h> + +void setup_seccomp(bool enable_syslog); #endif /* VIRTIOFSD_SECCOMP_H */ |