From 3302da4667640ac130956d8d90be7c39fb39222f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 18 Feb 2014 22:27:46 +0100 Subject: [PATCH] nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 54f718775..379ea9235 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1531,7 +1531,7 @@ static int audit_still_doesnt_work_in_containers(void) { goto finish; } - r = seccomp_rule_add_exact( + r = seccomp_rule_add( seccomp, SCMP_ACT_ERRNO(EAFNOSUPPORT), SCMP_SYS(socket), -- 2.30.2