Messages in this thread | | | From | Roland McGrath <> | Subject | Re: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GETFDPIC: fix the unsafe usage of child->mm | Date | Tue, 25 May 2010 12:11:46 -0700 (PDT) |
| |
> are you suggesting the FDPIC additions are ill-advised as well ? > curious how you would have implemented this if that's the case ...
They are certainly not as dismal as the arch PTRACE_PEEKUSR delivering mm->fields. But, frankly I don't think ptrace is the right mechanism for delivering any read-only, process-shared information. You can use some /proc/pid/foo for that. (The "dismal" cases deliver things like start_code, which is already available in /proc/pid/stat.)
Thanks, Roland
| |