lkml.org 
[lkml]   [2010]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GETFDPIC: fix the unsafe usage of child->mm
Date
> 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


\
 
 \ /
  Last update: 2010-05-25 21:15    [W:0.188 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site