mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
618e149e4a
(This is a backport of ccc500c427da731554a181f2ea407adf99870423.) It turns out that on ppc64le (at least), Docker doesn't include any architectures in the list of allowed architectures. libseccomp interprets this as "just include the default architecture" but patchbpf would return a no-op ENOSYS stub, which would lead to the exact issues that commit7a8d7162f9("seccomp: prepend -ENOSYS stub to all filters") fixed for other architectures. So, just always include the running architecture in the list. There's no real downside. Ref: https://bugzilla.suse.com/show_bug.cgi?id=1192051#c6 Fixes:7a8d7162f9("seccomp: prepend -ENOSYS stub to all filters") Reported-by: Fabian Vogt <fvogt@suse.com> Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>