lkml.org 
[lkml]   [2008]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid
On Wed, 2 Jan 2008 14:09:57 +0000 Al Viro <viro@ZenIV.linux.org.uk> wrote:

> Contents of /proc/*/maps is sensitive and may become sensitive
> after open() (e.g. if target originally shares our ->mm and later
> does exec on suid-root binary).

um, which contents?

> Check at read() (actually, ->start() of iterator) time that
> mm_struct we'd grabbed and locked is
> * still the ->mm of target
> * equal to reader's ->mm or the target is ptracable by reader.
>

Specifically, do /proc/pid/smaps and the maps4 goodies in -mm need similar
treatment?



\
 
 \ /
  Last update: 2008-01-05 10:35    [W:0.029 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site