From: Christian Brauner Date: Tue, 11 Jun 2019 22:02:49 +0000 (+0200) Subject: seccomp: add ifdefine for SECCOMP_FILTER_FLAG_NEW_LISTENER X-Git-Tag: lxc-3.2.0~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe02f63c0824b2ab104b31d978ccbf54e7578f9a;p=thirdparty%2Flxc.git seccomp: add ifdefine for SECCOMP_FILTER_FLAG_NEW_LISTENER So that we can deal with older kernels. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/lxcseccomp.h b/src/lxc/lxcseccomp.h index 893b8887d..121aa4e7a 100644 --- a/src/lxc/lxcseccomp.h +++ b/src/lxc/lxcseccomp.h @@ -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