OSDN Git Service

signal: Move addr_lsb into the _sigfault union for clarity
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 31 Jul 2017 15:08:59 +0000 (10:08 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 15 Jan 2018 23:42:32 +0000 (17:42 -0600)
commitb68a68d3dcc15ebbf23cbe91af1abf57591bd96b
tree711f9e8083ef7cc43b9338d57b61d441b58c9b90
parentb713da69e4c91d9addada4e58d26df1c9b5cd840
signal: Move addr_lsb into the _sigfault union for clarity

The addr_lsb fields is only valid and available when the
signal is SIGBUS and the si_code is BUS_MCEERR_AR or BUS_MCEERR_AO.
Document this with a comment and place the field in the _sigfault union
to make this clear.

All of the fields stay in the same physical location so both the old
and new definitions of struct siginfo will continue to work.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/compat.h
include/uapi/asm-generic/siginfo.h