summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-03-06 00:20:25 -0600
committerEric W. Biederman <ebiederm@xmission.com>2018-03-06 00:22:36 -0600
commit859d880cf544dbe095ce97534ef04cd88ba2f2b4 (patch)
treed4c2ff0121b6d3966518809be387538653503e63 /include/keys
parent9026e820cbd2ea39a06a129ecdddf2739bd3602b (diff)
downloadlinux-859d880cf544dbe095ce97534ef04cd88ba2f2b4.tar.bz2
signal: Correct the offset of si_pkey in struct siginfo
The change moving addr_lsb into the _sigfault union failed to take into account that _sigfault._addr_bnd._lower being a pointer forced the entire union to have pointer alignment. In practice this only mattered for the offset of si_pkey which is why this has taken so long to discover. To correct this change _dummy_pkey and _dummy_bnd to have pointer type. Reported-by: kernel test robot <shun.hao@intel.com> Fixes: b68a68d3dcc1 ("signal: Move addr_lsb into the _sigfault union for clarity") Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions