mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 04:09:46 +00:00
seccomp: add ifdefine for SECCOMP_FILTER_FLAG_NEW_LISTENER
So that we can deal with older kernels. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
2e5bcac329
commit
fe02f63c08
@ -45,6 +45,10 @@ struct lxc_conf;
|
|||||||
struct lxc_epoll_descr;
|
struct lxc_epoll_descr;
|
||||||
struct lxc_handler;
|
struct lxc_handler;
|
||||||
|
|
||||||
|
#ifndef SECCOMP_FILTER_FLAG_NEW_LISTENER
|
||||||
|
#define SECCOMP_FILTER_FLAG_NEW_LISTENER (1UL << 3)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SECCOMP
|
#ifdef HAVE_SECCOMP
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user