[Bug 3085] seccomp issue after upgrading openssl

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 16 06:17:12 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3085

--- Comment #19 from Nicholas Niro <blowfist at xroutine.net> ---
(In reply to Nicholas Niro from comment #18)
> I think I just found the cause of the issue. It's a configuration
> issue for 32bit systems. The file config.h contains : #define
> SECCOMP_AUDIT_ARCH AUDIT_ARCH_X86_64   even for 32bit systems. I
> managed to hack fix it by changing X86_64 to I386 and that seems to
> make sshd with seccomp work correctly.
> 
> Darren Tucker: I think you'll have more work than expected with your
> configure script :). (upon checking configure.ac : I notice that at
> first sight, I386 should be supported but there's obviously a
> detection bug lurking there.).
> 
> brunni: can you confirm the value of the variable SECCOMP_AUDIT_ARCH
> in your config.h?

Actually, upon further investigation on the host I'm testing this on,
it seems the host is indeed X86_64 but all the compilation tool set and
libraries are 32bit. This ought to confuse any configure script.

brunni: I wonder if you are in the same situation too.

Darren Tucker: Maybe we could detect the host based on gcc's
-dumpmachine output? It would be hackish though and it is a pretty
special case.

Anyhow, the "correct" way to fix this in the user stand point is by
passing something like --host=i686-linux-gnu to the configure script.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list