On 1/23/26 08:54, Borislav Petkov wrote:
> Hmmm, so, my gut feeling tells me that we need a proper ia32 emu support
> detection in the running kernel. I can't find one after a short grep, maybe it
> should be in /proc/cpuinfo, maybe it should be a syscall which fails when
> IA32_EMULATION is off or maybe ptrace(2) says somewhere in the depths of its
> countless ops that it does support IA32 emulation.

Yeah, a little arch_prctl() that returns supported or not would be nice.
I just hope we can manage to keep it used by the selftests and not get
abused by anyone else.

Reply via email to