diff --git a/src/nspawn/nspawn-seccomp.c b/src/nspawn/nspawn-seccomp.c index 710c874ddd..6956689ab5 100644 --- a/src/nspawn/nspawn-seccomp.c +++ b/src/nspawn/nspawn-seccomp.c @@ -108,6 +108,7 @@ static int add_syscall_filters( { CAP_SYS_BOOT, "reboot" }, { CAP_SYSLOG, "syslog" }, { CAP_SYS_TTY_CONFIG, "vhangup" }, + { CAP_BPF, "bpf", }, /* * The following syscalls and groups are knowingly excluded: @@ -117,7 +118,6 @@ static int add_syscall_filters( * @pkey * @swap * - * bpf * fanotify_init * fanotify_mark * kexec_file_load