arm64: Consolidate use of show_unhandled_signals
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | arm64: signal: Make force_signal_inject more robustarch/ arch/ arch/ | +16 | 0 replies | |
| 2/9 | arm64: signal: Force SIGKILL for unknown signals in force_signal_injectarch/ | +6 | 0 replies | |
| 3/9 | arm64: Introduce arm64_force_sig_info and hook up in arm64_notify_diearch/ arch/ | +29 | 1 reply | |
| 4/9 | arm64: signal: Don't print anything directly in force_signal_injectarch/ | +0 | 0 replies | |
| 5/9 | arm64: Pass user fault info to arm64_notify_die instead of printing itarch/ | +8 | 0 replies | |
| 6/9 | arm64: mm: Rework unhandled user pagefaults to call arm64_force_sig_infoarch/ | +36 | 0 replies | |
| 7/9 | arm64: signal: Call arm64_notify_segfault when failing to deliver signalarch/ arch/ | +5 | 0 replies | |
| 8/9 | arm64: Move show_unhandled_signals_ratelimited into traps.carch/ arch/ | +7 | 0 replies | |
| 9/9 | arm64: Use arm64_force_sig_info instead of force_sig_infoarch/ arch/ arch/ | +5 | 1 reply | |
| 9/9 | arm64: Use arm64_force_sig_info instead of force_sig_info | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] arm64: Consolidate use of show_unhandled_signals
Hi all,
This patch series attempts to consolidate our handling of show_unhandled_signals into arm64_force_sig_info. This helps to keep things consistent, as well as avoid accidentally printing messages where they aren't necessarily appropriate, or end up leaking kernel state.
In writing this, I found a few weird behaviours with the way in which we populate siginfo_t and also some opportunities for tidy-ups and simplification.
Patches based on fixes/core.
Cheers,
Will
--->8
Will Deacon (9):
arm64: signal: Make force_signal_inject more robust
arm64: signal: Force SIGKILL for unknown signals in
force_signal_inject
arm64: Introduce arm64_force_sig_info and hook up in arm64_notify_die
arm64: signal: Don't print anything directly in force_signal_inject
arm64: Pass user fault info to arm64_notify_die instead of printing it
arm64: mm: Rework unhandled user pagefaults to call
arm64_force_sig_info
arm64: signal: Call arm64_notify_segfault when failing to deliver
signal
arm64: Move show_unhandled_signals_ratelimited into traps.c
arm64: Use arm64_force_sig_info instead of force_sig_info
arch/arm64/include/asm/system_misc.h | 11 ---- arch/arm64/include/asm/traps.h | 8 +-- arch/arm64/kernel/debug-monitors.c | 3 +- arch/arm64/kernel/fpsimd.c | 5 +- arch/arm64/kernel/ptrace.c | 2 +- arch/arm64/kernel/signal.c | 7 +-- arch/arm64/kernel/signal32.c | 13 +--- arch/arm64/kernel/traps.c | 72 ++++++++++++++------- arch/arm64/mm/fault.c | 117 +++++++++++++---------------------- 9 files changed, 108 insertions(+), 130 deletions(-)
Signature · 1 line
2.1.4