seccomp: add ifdefine for SECCOMP_FILTER_FLAG_NEW_LISTENER

So that we can deal with older kernels. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 2e5bcac3
......@@ -45,6 +45,10 @@ struct lxc_conf;
struct lxc_epoll_descr;
struct lxc_handler;
#ifndef SECCOMP_FILTER_FLAG_NEW_LISTENER
#define SECCOMP_FILTER_FLAG_NEW_LISTENER (1UL << 3)
#endif
#ifdef HAVE_SECCOMP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment