summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-01-18 18:54:31 -0600
committerEric W. Biederman <ebiederm@xmission.com>2018-01-22 19:07:10 -0600
commit382467358ac9675b1b6814400a9a9e36dc7da14f (patch)
tree4f3b36b32d2ab48f4dc3ce5dcf39125bcc099101 /arch/arm/kernel
parentf8ec66014ffd95a783b1f9f3b62d7cadb96b78d5 (diff)
downloadop-kernel-dev-382467358ac9675b1b6814400a9a9e36dc7da14f.zip
op-kernel-dev-382467358ac9675b1b6814400a9a9e36dc7da14f.tar.gz
signal: Helpers for faults with specialized siginfo layouts
The helpers added are: send_sig_mceerr force_sig_mceerr force_sig_bnderr force_sig_pkuerr Filling out siginfo properly can ge tricky. Especially for these specialized cases where the temptation is to share code with other cases which use a different subset of siginfo fields. Unfortunately that code sharing frequently results in bugs with the wrong siginfo fields filled in, and makes it harder to verify that the siginfo structure was properly initialized. Provide these helpers instead that get all of the details right, and guarantee that siginfo is properly initialized. send_sig_mceerr and force_sig_mceer are a little special as two si codes BUS_MCEERR_AO and BUS_MCEER_AR both use the same extended signinfo layout. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud