[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: armv8 does not respect personality ADDR_LIMIT_3GB



On Tue, Oct 05, 2021 at 01:37:49PM -0400, Camm Maguire wrote:
>...
> To me it seems that the 64bit kernel, if it
> offers a compatibility mode, should match whatever the contemporaneous
> 32bit kernel behavior is, making this a bug in the compatibility mode.
>...

You are expecting compatibility with something that is changable even
in 32bit kernels.

For both 32bit x86 and 32bit arm, the amount of address space provided
to userspace is a compile option for the kernel:
https://sources.debian.org/src/linux/5.14.9-2/arch/arm/Kconfig/#L1250
https://sources.debian.org/src/linux/5.14.9-2/arch/x86/Kconfig/#L1412

cu
Adrian


Reply to: