]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/lxcseccomp.h
github: Update for main branch
[mirror_lxc.git] / src / lxc / lxcseccomp.h
index 070dcaf5acdbf4e8b0a20669acf35604a05d5a12..93ff19ca0eec5440f376bca7f87c11b4c115ad1e 100644 (file)
@@ -6,10 +6,12 @@
 #include "config.h"
 
 #include <errno.h>
-#ifdef HAVE_SECCOMP
+
+#if HAVE_SECCOMP
 #include <linux/seccomp.h>
 #include <seccomp.h>
 #endif
+
 #if HAVE_DECL_SECCOMP_NOTIFY_FD
 #include <sys/socket.h>
 #include <sys/un.h>
@@ -27,7 +29,7 @@ struct lxc_handler;
 #define SECCOMP_FILTER_FLAG_NEW_LISTENER (1UL << 3)
 #endif
 
-#ifdef HAVE_SECCOMP
+#if HAVE_SECCOMP
 
 
 #if HAVE_DECL_SECCOMP_NOTIFY_FD
@@ -60,8 +62,6 @@ struct seccomp_notify {
        char *cookie;
 };
 
-#define HAVE_SECCOMP_NOTIFY 1
-
 #endif /* HAVE_DECL_SECCOMP_NOTIFY_FD */
 
 struct lxc_seccomp {