Skip to content

get/set_dumpable() cleanups and theoretical fix

Oleg Nesterov linux-arch lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3set_dumpable: fix the theoretical race with itselffs/exec.c+15 -341 reply
2/3kill MMF_DUMPABLE and MMF_DUMP_SECURELYfs/exec.c include/linux/sched.h+7 -180 replies
3/3make __get_dumpable/get_dumpable inline, kill fs/coredump.hfs/coredump.c fs/coredump.h fs/exec.c +1 more+17 -290 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKees Cook
1/3A-b
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 v2 thread

Cover letter [PATCH v2 0/3] get/set_dumpable() cleanups and theoretical fix

Hello.

The only change is WARN_ON() in 2/3 to catch the insane callers, I preserved the acks from Kees.

Oleg.

 fs/coredump.c         |    1 -
 fs/coredump.h         |    6 ----
 fs/exec.c             |   62 ++++++------------------------------------------
 include/linux/sched.h |   25 ++++++++++++++-----
 4 files changed, 26 insertions(+), 68 deletions(-)