[PATCH v2 1/4] copy_sighand: Handle architectures where sizeof(unsigned long) < sizeof(u64)

Arnd Bergmann arnd at arndb.de
Mon Sep 1 23:19:31 AEST 2025


On Mon, Sep 1, 2025, at 15:09, Simon Schuster via B4 Relay wrote:

> This commit fixes the bug by always passing clone_flags to copy_sighand
> via their declared u64 type, invariant of architecture-dependent integer
> sizes.
>
> Fixes: b612e5df4587 ("clone3: add CLONE_CLEAR_SIGHAND")
> Cc: stable at vger.kernel.org # linux-5.5+
> Signed-off-by: Simon Schuster <schuster.simon at siemens-energy.com>
> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>

Reviewed-by: Arnd Bergmann <arnd at arndb.de>


More information about the Linuxppc-dev mailing list