lkml.org 
[lkml]   [2014]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] procfs: make /proc/*/{stack,syscall,personality} 0400
Hi Alexey,

On Mon, Mar 24, 2014 at 04:41:43PM +0300, Alexey Dobriyan wrote:
> > - ONE("stack", S_IRUGO, proc_pid_stack),
> > + ONE("stack", S_IRUSR, proc_pid_stack),
>
> no love for /proc/*/wchan?

Yes you are right, didn't want to modify lot of things, and I missed that one.

So there is the ptrace check that will just block cases where users do
_not_ play tricks with the fd. I'll send another v3 with that included.

Thanks!

--
Djalal Harouni
http://opendz.org


\
 
 \ /
  Last update: 2014-03-25 12:01    [W:0.057 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site