Skip to content

fs/proc: Stop reporting eip and esp in

zhangyi (F) linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sched/core: Allow putting thread_info into task_structinclude/linux/init_task.h include/linux/sched.h include/linux/thread_info.h +3 more+74 -40 replies
2/7sched/core: Add try_get_task_stack() and put_task_stack()include/linux/sched.h init/Kconfig+19 -00 replies
3/7sched/core, x86: Make struct thread_info arch specific againinclude/linux/thread_info.h+0 -110 replies
4/7fs/proc: Stop reporting eip and esp in /proc/PID/statfs/proc/array.c+5 -40 replies
5/7fs/proc: Report eip/esp in /prod/PID/stat for coredumpingfs/proc/array.c+8 -00 replies
6/7proc: fix coredump vs read /proc/*/stat racefs/proc/array.c+5 -20 replies
7/7fs/proc/array.c: allow reporting eip/esp for all coredumping threadsfs/proc/array.c+1 -10 replies

Reviews trailers per patch

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

PatchAndy LutomirskiJan LuebbeJohn OgnessThomas Gleixner
1/7
2/7
3/7A-b
4/7A-b
5/7R-b
6/7T-b
7/7T-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.

Read the v1 thread

Cover letter [PATCH 4.4 0/7] fs/proc: Stop reporting eip and esp in

Reporting eip and esp fields on a non-current task is dangerous, so backport this series for 4.4 to fix protential oops and info leak problems. The first 3 patch are depended on the 6/7 patch.

Alexey Dobriyan (1):
proc: fix coredump vs read /proc/*/stat race

Andy Lutomirski (3):
sched/core: Allow putting thread_info into task_struct sched/core: Add try_get_task_stack() and put_task_stack() fs/proc: Stop reporting eip and esp in /proc/PID/stat

Heiko Carstens (1):
sched/core, x86: Make struct thread_info arch specific again

John Ogness (2):
fs/proc: Report eip/esp in /prod/PID/stat for coredumping fs/proc/array.c: allow reporting eip/esp for all coredumping threads

 fs/proc/array.c             | 18 ++++++++++---
 include/linux/init_task.h   |  9 +++++++
 include/linux/sched.h       | 52 +++++++++++++++++++++++++++++++++++--
 include/linux/thread_info.h |  4 +++
 init/Kconfig                | 10 +++++++
 init/init_task.c            |  7 +++--
 kernel/sched/sched.h        |  4 +++
 7 files changed, 97 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.2