Will Deacon 2c9120f3a8 arm64: signal: Make force_signal_inject more robust
force_signal_inject is a little flakey:

  * It only knows about SIGILL and SIGSEGV, so can potentially deliver
    other signals based on a partially initialised siginfo_t

  * It sets si_addr to point at the PC for SIGSEGV

  * It always operates on current, so doesn't need the regs argument

This patch fixes these issues by always assigning the si_addr field to
the address parameter of the function and updates the callers (including
those that indirectly call via arm64_notify_segfault) accordingly.

Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-03-06 18:52:22 +00:00
..
2017-11-15 10:56:56 -08:00
2018-02-09 09:44:25 -08:00
2018-02-08 10:44:25 -08:00
2016-05-16 17:17:24 -07:00
2017-07-05 17:09:27 -07:00
2018-01-13 10:45:03 +00:00
2018-01-13 10:45:10 +00:00
2016-04-20 12:22:42 +01:00
2017-08-09 12:16:28 +01:00