swapper fixes (Was: kernel panic on kill(0, SIGTERM) with PGID == 0)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | INIT_TASK() should initialize ->thread_group listinclude/ | +1 | 3 replies | |
| 2/4 | pids: init_struct_pid.tasks should never see the swapper processinclude/ | +4 | 2 replies | |
| 3/4 | pids: fix fork_idle() to setup ->pids correctlykernel/ | +13 | 1 reply | |
| 4/4 | INIT_SIGHAND: use SIG_DFL instead of NULLinclude/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mathias Krause | Roland McGrath | Serge E. Hallyn | Sukadev Bhattiprolu |
|---|---|---|---|---|
| Series | A-b | |||
| 1/4 | Reported-and-tested-by | A-b | A-b | |
| 2/4 | A-b | |||
| 3/4 | A-b | |||
| 4/4 | A-b |
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/4] swapper fixes (Was: kernel panic on kill(0, SIGTERM) with PGID == 0)
Hello,
Mathias Krause reports that a buggy (or special) /sbin/init can crash the kernel if it sends a signal to its pgrp/sid before it changes its initial (0,0) pids. See the changelog for 1/4.
git-bisect blames "start the global /sbin/init with 0,0 special pids" commit 430c623121ea88ca80595c99fdc63b7f8a803ae5, but in fact the problem was caused by another change, see 2/4.
The patches do not depend on each other, 3/4 fixes another problem, 4/4 is purely cosmetic.
Oleg.