OSDN Git Service

m68k: Verify the offsets in struct siginfo never change.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Apr 2018 20:10:57 +0000 (15:10 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Apr 2018 20:10:57 +0000 (15:10 -0500)
commit4be33329d46f80e87afe7db61271d1370607260a
tree630f419b9d1127d81087fde18ae38da45ecb8d90
parent8420f71943ae96dcd78da5bd4a5c2827419d340c
m68k: Verify the offsets in struct siginfo never change.

A change to the generic struct siginfo accidentally changed the offset
of si_offset.  Add build time checks to ensure the offsets of all known
fields in struct siginfo never change.  This copies the form of similar
changes on x86.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/m68k/kernel/signal.c