From: Lennart Poettering Date: Tue, 18 Feb 2014 21:27:46 +0000 (+0100) Subject: nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp... X-Git-Tag: v209~52 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3302da4667640ac130956d8d90be7c39fb39222f nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup --- 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),