[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100525191146.E70E549A54@magilla.sf.frob.com>
Date: Tue, 25 May 2010 12:11:46 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: Oleg Nesterov <oleg@...hat.com>, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org, David Howells <dhowells@...hat.com>,
Paul Mundt <lethal@...ux-sh.org>,
uclinux-dist-devel@...ckfin.uclinux.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GETFDPIC: fix
the unsafe usage of child->mm
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists