Skip to content

mm_for_maps: simplify, use ptrace_may_access()

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mm_for_maps: simplify, use ptrace_may_access()fs/proc/base.c+11 -124 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSerge Hallyn
1/1R-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 0/1] mm_for_maps: simplify, use ptrace_may_access()
Quoted 4 lines · Christoph Hellwig

Umm, I think I mentioned it before: if you really need to rename that beast please kill the ptrace part as we use it for all kinds of other things.

Agreed, it would be nice to rename (and move out of ptrace.c) but I am not going to do this, I can't suggest the better naming.

But I think it would be nice to kill __ptrace_may_access() and use ptrace_may_access() everywhere. ptrace_attach() is trivial, the only other caller is mm_for_maps().

Oleg.