summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-18 22:27:46 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-18 22:27:46 +0100
commit3302da4667640ac130956d8d90be7c39fb39222f (patch)
tree5b860b6e572f1b8c7d463d440fe6c590ec7465e6 /src/nspawn
parente9642be2cce7f5e90406980092a6f71f504a16af (diff)
nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 54f7187754..379ea92355 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),