X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blobdiff_plain;f=fs%2Fproc%2Fbase.c;h=c47719aaadef882ec4ebf9ff507fecaf8edb63ac;hp=fc5bc27676926cccbc27f3349886e02bbc047211;hb=8209f53d79444747782a28520187abaf689761f2;hpb=22a3b9771117d566def0150ea787fcc95f16e724 diff --git a/fs/proc/base.c b/fs/proc/base.c index fc5bc27..c47719a 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -216,7 +216,7 @@ static struct mm_struct *__check_mem_permission(struct task_struct *task) if (task_is_stopped_or_traced(task)) { int match; rcu_read_lock(); - match = (tracehook_tracer_task(task) == current); + match = (ptrace_parent(task) == current); rcu_read_unlock(); if (match && ptrace_may_access(task, PTRACE_MODE_ATTACH)) return mm;