Re: [PATCH] x86: Start removing X86_X32_ABI
From: Sebastian Andrzej Siewior
Date: Tue May 26 2026 - 16:45:13 EST
On 2026-05-26 08:54:56 [-0700], H. Peter Anvin wrote:
> No, because you don't want the same system call number to have
> different meaning on different kernels, potentially succeed with
> totally the wrong meaning.
My point is that if you rip out x32 entirely there is no point in
reversing the syscall numbers since you can't use x32 anyway.
> System call numbers or even mechanisms are in no wise tied to the ELF
> type. An x86-64 binary can issue x86-64, x32 or i386 system calls,
> even from 64-bit mode!
Hmm. Judging from compat_elf_check_arch() it looks like it is
restricted.
But *why* have syscalls if nothing else works? It is not that you have a
natural environment where these things work and in a later kernel they
behave differently. It just not working.
Sebastian