Skip to content

coredump: make it freezable (almost)

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3coredump: factor out the setting of PF_DUMPCOREarch/x86/ia32/ia32_aout.c fs/binfmt_aout.c fs/binfmt_elf.c +2 more+2 -60 replies
2/3freezer: do not send a fake signal to a PF_DUMPCORE threadkernel/freezer.c+1 -17 replies
3/3coredump: make wait_for_dump_helpers() freezablefs/coredump.c+6 -61 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRafael J. WysockiMandeep Singh Baines
1/3
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -mm 0/3] coredump: make it freezable (almost)

Hello.

On top of coredump-sanitize-the-setting-of-signal-group_exit_code.patch

Andrew, "almost" means we need a bit more changes, but these changes should be absolutely trivial/straightforward. We need to add the killable/freezeng checks in dump_write/seek. But this depends on 2/3, lets discuss this series first.

Mandeep, assuming that you agree with this series, I would be happy if you add your sob's, this all is based on our discussion.

Oleg.

 arch/x86/ia32/ia32_aout.c |    1 -
 fs/binfmt_aout.c          |    1 -
 fs/binfmt_elf.c           |    3 +--
 fs/binfmt_elf_fdpic.c     |    2 --
 fs/coredump.c             |   13 +++++++------
 kernel/freezer.c          |    2 +-
 6 files changed, 9 insertions(+), 13 deletions(-)