signal: Cleanup of the signal->flags
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | signal: Make SIGKILL during coredumps an explicit special casefs/ kernel/ | +11 | 25 replies | |
| 2/8 | signal: Drop signals received after a fatal signal has been processedfs/ kernel/ | +3 | 0 replies | |
| 3/8 | signal: Have the oom killer detect coredumps using signal->core_statemm/ | +1 | 0 replies | |
| 4/8 | signal: During coredumps set SIGNAL_GROUP_EXIT in zap_processfs/ | +3 | 0 replies | |
| 5/8 | signal: Remove SIGNAL_GROUP_COREDUMPfs/ include/ kernel/ | +3 | 0 replies | |
| 6/8 | coredump: Stop setting signal->group_exit_taskfs/ | +0 | 0 replies | |
| 7/8 | signal: Rename group_exit_task group_exec_taskfs/ include/ kernel/ | +10 | 0 replies | |
| 8/8 | signal: Remove the helper signal_group_exitfs/ fs/ include/ +2 more | +15 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christoph Hellwig | Geert Uytterhoeven | Kees Cook | Oleg Nesterov |
|---|---|---|---|---|
| Series | R-b | A-b | R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b | A-b A-b |
| 1/8 | ||||
| 2/8 | ||||
| 3/8 | ||||
| 4/8 | ||||
| 5/8 | ||||
| 6/8 | ||||
| 7/8 | ||||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/8] signal: Cleanup of the signal->flags
The special case of SIGKILL during coredumps is very fragile today and while reading through the code I realized I have almost broken it twice. So this simplifies that special case, removes SIGNAL_GROUP_COREDUMP which has become unnecessary with the addition of signal->core_state, and this removes the helper signal_group_exit which is misnamed and is not used properly.
If you squint very hard there might be a user space visible difference in behavior somewhere but I don't think there is one in practice.
These patches are on top of:
https://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git/ signal-for-v5.17
After these patches have been reviewed it is my plan to apply them to my signal-for-v5.17 branch.
Eric W. Biederman (8):
signal: Make SIGKILL during coredumps an explicit special case
signal: Drop signals received after a fatal signal has been processed
signal: Have the oom killer detect coredumps using signal->core_state
signal: During coredumps set SIGNAL_GROUP_EXIT in zap_process
signal: Remove SIGNAL_GROUP_COREDUMP
coredump: Stop setting signal->group_exit_task
signal: Rename group_exit_task group_exec_task
signal: Remove the helper signal_group_exit
fs/coredump.c | 20 +++++++++----------- fs/exec.c | 10 +++++----- include/linux/sched/signal.h | 18 +++--------------- kernel/exit.c | 12 ++++++++---- kernel/signal.c | 24 ++++++++++++++++-------- mm/oom_kill.c | 2 +- 6 files changed, 42 insertions(+), 44 deletions(-)
Eric