aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-19 09:03:35 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-19 09:03:35 +0200
commit8a874ecf585bc14ff4789d5e0f2e35aad071d6a6 (patch)
tree335ca20076082d8506ca5adb6af9f1220a69fe0e /passt.c
parent17600d6d6ef0edf60bbf64c5bef594a8a07547cc (diff)
downloadpasst-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar.gz
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar.bz2
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar.lz
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar.xz
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.tar.zst
passt-8a874ecf585bc14ff4789d5e0f2e35aad071d6a6.zip
passt: Include linux/seccomp.h and linux/audit.h instead of seccomp.h
We don't use libseccomp. Reported-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index e88df72..a5f9bf8 100644
--- a/passt.c
+++ b/passt.c
@@ -51,7 +51,8 @@
#include <time.h>
#include <syslog.h>
#include <sys/stat.h>
-#include <seccomp.h>
+#include <linux/seccomp.h>
+#include <linux/audit.h>
#include <sys/prctl.h>
#include <linux/filter.h>
#include <stddef.h>