diff options
author | Will Deacon <will.deacon@arm.com> | 2018-02-20 15:05:17 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-03-06 18:52:25 +0000 |
commit | f71016a8a8c5696530ec7173ee969c68e91d3719 (patch) | |
tree | fbe0d09621bd8157802386195be3bf528d7de463 /fs/sysfs/symlink.c | |
parent | 92ff0674f5d8013704cbaeaceb8e3576b36754ee (diff) |
arm64: signal: Call arm64_notify_segfault when failing to deliver signal
If we fail to deliver a signal due to taking an unhandled fault on the
stackframe, we can call arm64_notify_segfault to deliver a SEGV can deal
with printing any unhandled signal messages for us, rather than roll our
own printing code.
A side-effect of this change is that we now deliver the frame address
in si_addr along with an si_code of SEGV_{ACC,MAP}ERR, rather than an
si_addr of 0 and an si_code of SI_KERNEL as before.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'fs/sysfs/symlink.c')
0 files changed, 0 insertions, 0 deletions