(subset) [PATCH 0/3] arm64: uapi: Provide correct __BITS_PER_LONG for the compat vDSO
Catalin Marinas
catalin.marinas at arm.com
Wed Sep 3 04:21:22 PDT 2025
On Thu, 21 Aug 2025 09:56:43 +0200, Thomas Weißschuh wrote:
> The generic vDSO library uses the UAPI headers. On arm64 __BITS_PER_LONG is
> always '64' even when used from the compat vDSO. In that case __GENMASK()
> does an illegal bitshift, invoking undefined behaviour.
>
> The first patch should go into the 6.17 tree.
>
>
> [...]
Applied to arm64 (for-next/fixes), thanks! And sorry for the delay,
missed it due to holidays.
[1/3] arm64: uapi: Provide correct __BITS_PER_LONG for the compat vDSO
https://git.kernel.org/arm64/c/9a6d3ff10f7f
I'll leave the other two patches to Will for the upcoming merging
window.
--
Catalin
More information about the linux-arm-kernel
mailing list