Skip to content
Commit 859d880c authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

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: default avatarkernel test robot <shun.hao@intel.com>
Fixes: b68a68d3

 ("signal: Move addr_lsb into the _sigfault union for clarity")
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 9026e820
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment