Re: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GETFDPIC: fix the unsafe usage of child->mm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland McGrath
Date: Tuesday, May 25, 2010 - 12:11 pm

> are you suggesting the FDPIC additions are ill-advised as well ?

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ptrace: unify FDPIC implementations, Mike Frysinger, (Mon Feb 15, 5:30 pm)
Re: [PATCH] ptrace: unify FDPIC implementations, Paul Mundt, (Mon Feb 15, 6:10 pm)
Re: [PATCH] ptrace: unify FDPIC implementations, Mike Frysinger, (Tue Feb 16, 1:12 am)
[PATCH v2] ptrace: unify FDPIC implementations, Mike Frysinger, (Fri May 21, 1:42 am)
Re: [PATCH v2] ptrace: unify FDPIC implementations, Oleg Nesterov, (Fri May 21, 9:26 am)
Re: [PATCH v2] ptrace: unify FDPIC implementations, Roland McGrath, (Fri May 21, 11:35 am)
Re: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GE ..., Roland McGrath, (Tue May 25, 12:11 pm)
[PATCH 0/2] blackfin: ptrace mm/sram_list fixes, Oleg Nesterov, (Thu May 27, 12:55 pm)
Re: [PATCH 0/2] blackfin: ptrace mm/sram_list fixes, Mike Frysinger, (Thu May 27, 1:21 pm)
Re: [PATCH 0/2] blackfin: ptrace mm/sram_list fixes, Oleg Nesterov, (Fri May 28, 12:43 pm)