[PATCH 1/3] sparc64: Add compile-time asserts for siginfo_t offsets

David Miller davem at davemloft.net
Fri Apr 30 23:22:58 BST 2021


From: Marco Elver <elver at google.com>
Date: Thu, 29 Apr 2021 21:07:32 +0200

> To help catch ABI breaks at compile-time, add compile-time assertions to
> verify the siginfo_t layout. Unlike other architectures, sparc64 is
> special, because it is one of few architectures requiring si_trapno.
> ABI breaks around that field would only be caught here.
> 
> Link: https://lkml.kernel.org/r/m11rat9f85.fsf@fess.ebiederm.org
> Suggested-by: Eric W. Biederman <ebiederm at xmission.com>
> Signed-off-by: Marco Elver <elver at google.com>

Acked-by: David S. Miller <davem at davemloft.net>



More information about the linux-arm-kernel mailing list