Messages in this thread |  | | | From | Roland McGrath <> | | Subject | Re: [RFC PATCH 3/X] ptrace: introduce the empty "struct ptrace_task" | | Date | Tue, 26 May 2009 13:33:08 -0700 (PDT) |
| |
> Please use 'struct ptrace_context' and '*ptrace_ctx' instead.
I am fine with this name (or any other). But note in considering your suggestions that we will shortly have another separate struct with a similar name. The first one is the state of a ptrace tracee task (bits about itself and pointing to its tracer). The second is the state of a ptrace tracer (head of its tracees list, locks, etc).
A name like "ptrace_context" could be read as intuitive for either of these two quite different things. Perhaps this is true of "ptrace_task" too, though it seemed to us like it wasn't too unclear, and preferably shorter than something like "ptrace_tracee_context".
Thanks, Roland
|  |