diff --git a/[refs] b/[refs] index da87f3d9fa60..722d1888093f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a4b69f79ba7286794765a856349e380f984a6cb +refs/heads/master: 260ea1013283d8acbb451459ed1ca560c1445c20 diff --git a/trunk/include/linux/ptrace.h b/trunk/include/linux/ptrace.h index 0d36750fc0f1..ee918bc6e18c 100644 --- a/trunk/include/linux/ptrace.h +++ b/trunk/include/linux/ptrace.h @@ -51,6 +51,10 @@ #ifdef __KERNEL__ /* * Ptrace flags + * + * The owner ship rules for task->ptrace which holds the ptrace + * flags is simple. When a task is running it owns it's task->ptrace + * flags. When the a task is stopped the ptracer owns task->ptrace. */ #define PT_PTRACED 0x00000001 diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index 267f15257040..a9d23c7d1b25 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -1225,7 +1225,7 @@ static inline int thread_group_empty(task_t *p) (thread_group_leader(p) && !thread_group_empty(p)) /* - * Protects ->fs, ->files, ->mm, ->ptrace, ->group_info, ->comm, keyring + * Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring * subscriptions and synchronises with wait4(). Also used in procfs. Also * pins the final release of task.io_context. Also protects ->cpuset. *