chiark / gitweb /
nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp...
authorLennart Poettering <lennart@poettering.net>
Tue, 18 Feb 2014 21:27:46 +0000 (22:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Feb 2014 21:27:46 +0000 (22:27 +0100)
src/nspawn/nspawn.c

index 54f7187..379ea92 100644 (file)
@@ -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),