2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 17:52:40 +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:
Stéphane Graber
2016-10-20 16:35:36 -04:00
parent 514120e227
commit 2b097b7b0a

View File

@@ -377,15 +377,6 @@ static int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf)
default_policy_action);
if (!compat_ctx[0] || !compat_ctx[1])
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
}