mirror of
git://github.com/lxc/lxc
synced 2025-09-03 15:49:52 +00:00
s390x: Fix seccomp handling of personalities
There are no personalities for s390x, so don't list itself as one. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
@@ -377,15 +377,6 @@ static int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf)
|
|||||||
default_policy_action);
|
default_policy_action);
|
||||||
if (!compat_ctx[0] || !compat_ctx[1])
|
if (!compat_ctx[0] || !compat_ctx[1])
|
||||||
goto bad;
|
goto bad;
|
||||||
#endif
|
|
||||||
#ifdef SCMP_ARCH_S390X
|
|
||||||
} else if (native_arch == lxc_seccomp_arch_s390x) {
|
|
||||||
cur_rule_arch = lxc_seccomp_arch_all;
|
|
||||||
compat_arch[0] = SCMP_ARCH_S390X;
|
|
||||||
compat_ctx[0] = get_new_ctx(lxc_seccomp_arch_s390x,
|
|
||||||
default_policy_action);
|
|
||||||
if (!compat_ctx[0])
|
|
||||||
goto bad;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user