Files
linux-st/include/linux
Al Viro 831830b5a2 restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid
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).

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.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-02 13:13:27 -08:00
..
2007-12-26 19:36:35 -08:00
2007-12-17 20:33:12 -05:00
2007-11-19 21:43:22 -05:00
2007-12-20 17:32:12 +00:00
2007-10-29 07:41:32 -07:00
2007-11-29 09:24:54 -08:00
2007-11-15 19:24:02 +01:00
2007-12-05 05:37:32 -08:00
2007-11-05 15:12:32 -08:00
2007-12-26 19:36:35 -08:00
2007-11-29 09:24:52 -08:00
2007-12-07 09:06:53 +00:00
2007-10-25 15:02:50 +10:00
2007-10-25 15:02:50 +10:00
2007-12-17 20:43:28 -05:00
2007-11-07 04:15:12 -08:00
2007-12-12 20:01:00 +01:00
2007-12-05 09:21:20 -08:00
2007-11-29 09:24:54 -08:00
2007-11-27 09:30:39 +01:00
2007-11-29 09:24:53 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2007-11-09 22:39:38 +01:00
2007-11-26 20:42:19 +01:00
2007-10-29 07:41:33 -07:00
2007-12-17 10:47:15 -08:00
2007-12-26 19:36:35 -08:00
2007-10-23 13:47:31 -05:00