ptrace: kill task_ptrace()
task_ptrace(task) simply dereferences task->ptrace and isn't even used consistently only adding confusion. Kill it and directly access ->ptrace instead. This doesn't introduce any behavior change. Signed-off-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Oleg Nesterov <oleg@redhat.com>
Showing
- include/linux/ptrace.h 0 additions, 11 deletionsinclude/linux/ptrace.h
- include/linux/tracehook.h 8 additions, 8 deletionsinclude/linux/tracehook.h
- kernel/exit.c 4 additions, 4 deletionskernel/exit.c
- kernel/signal.c 7 additions, 7 deletionskernel/signal.c
- mm/oom_kill.c 1 addition, 2 deletionsmm/oom_kill.c
Loading
Please register or sign in to comment