aboutsummaryrefslogtreecommitdiff
path: root/tools/virtiofsd/passthrough_seccomp.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-05 09:45:39 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:09 -0400
commit3f99cf5710d77ce218116d1b6bb9682c466bbde1 (patch)
treeb03f11959ec3ad2d2e206965c02c16d7f7e2d9a6 /tools/virtiofsd/passthrough_seccomp.h
parent931049b46cb58a499a36d8a1d0ac3f7b334e0876 (diff)
tools/virtiofsd: convert to Meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/virtiofsd/passthrough_seccomp.h')
-rw-r--r--tools/virtiofsd/passthrough_seccomp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/virtiofsd/passthrough_seccomp.h b/tools/virtiofsd/passthrough_seccomp.h
new file mode 100644
index 0000000000..d47c8eade6
--- /dev/null
+++ b/tools/virtiofsd/passthrough_seccomp.h
@@ -0,0 +1,16 @@
+/*
+ * Seccomp sandboxing for virtiofsd
+ *
+ * Copyright (C) 2019 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef VIRTIOFSD_SECCOMP_H
+#define VIRTIOFSD_SECCOMP_H
+
+#include <stdbool.h>
+
+void setup_seccomp(bool enable_syslog);
+
+#endif /* VIRTIOFSD_SECCOMP_H */