summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorOleg Nesterov2009-12-16 01:47:15 +0100
committerLinus Torvalds2009-12-16 16:20:08 +0100
commitc6a47cc2ccf9649ee09eeddd70a6d061bde69568 (patch)
treeb5ff696302607cd8f325199f84f88448e6475b84 /kernel/fork.c
parentmemcg: code clean, remove unused variable in mem_cgroup_resize_limit() (diff)
downloadkernel-qcow2-linux-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.tar.gz
kernel-qcow2-linux-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.tar.xz
kernel-qcow2-linux-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.zip
ptrace: cleanup ptrace_init_task()->ptrace_link() path
No functional changes. ptrace_init_task() looks confusing, as if we always auto-attach when "bool ptrace" argument is true, while in fact we attach only if current is traced. Make the code more explicit and kill now unused ptrace_link(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions