Skip to content

signal: force_sig cleanups

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4signal: give SEND_SIG_FORCED more power to beat SIGNAL_UNKILLABLEkernel/signal.c+2 -13 replies
2/4signal: cosmetic, s/from_ancestor_ns/force/ in prepare_signal() pathskernel/signal.c+7 -80 replies
3/4signal: oom_kill_task: use SEND_SIG_FORCED instead of force_sig()mm/oom_kill.c+2 -21 reply
4/4signal: zap_pid_ns_processes: s/SEND_SIG_NOINFO/SEND_SIG_FORCED/kernel/pid_namespace.c+2 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] signal: force_sig cleanups

The usage of force_sig/etc is almost always wrong outside of do_trap-like paths, and this interface needs the fixes/ cleanups itself.

This series starts the necessary cleanups. Initially it had one more patch, send_sig_all()->force_sig() is absolutely wrong and should be replaced with SEND_SIG_FORCED too. But this conflicts with other changes in tty.git, I need to discuss this with Anton/Greg.

Oleg.