]> git.karo-electronics.de Git - linux-beck.git/commit
ptrace: kill task_ptrace()
authorTejun Heo <tj@kernel.org>
Fri, 17 Jun 2011 14:50:34 +0000 (16:50 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 22 Jun 2011 17:26:27 +0000 (19:26 +0200)
commitd21142ece414ce1088cfcae760689aa60d6fee80
tree9f97b4518cd06fe695476fc6cc4ff9ed8d5bdd58
parent544b2c91a9f14f9565af1972203438b7f49afd48
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>
include/linux/ptrace.h
include/linux/tracehook.h
kernel/exit.c
kernel/signal.c
mm/oom_kill.c