diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-06 00:29:17 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-06 00:29:17 -0600 |
commit | f6a015498dcaee72f80283cb7873d88deb07129c (patch) | |
tree | dececdae07455a991da117bf0cbc5a7962b5af5a /include/memory | |
parent | 859d880cf544dbe095ce97534ef04cd88ba2f2b4 (diff) |
signal/x86: Include the field offsets in the build time checks
Due to an oversight when refactoring siginfo_t si_pkey has been in the
wrong position since 4.16-rc1. Add an explicit check of the offset of
every user space field in siginfo_t and compat_siginfo_t to make a
mistake like this hard to make in the future.
I have run this code on 4.15 and 4.16-rc1 with the position of si_pkey
fixed and all of the fields show up in the same location.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions