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-11-06 08:02:53 -06:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:47 -07:00
2007-11-05 15:12:32 -08:00
2007-10-19 11:53:43 -07:00
2007-10-19 11:53:37 -07:00
2007-10-17 08:42:45 -07:00
2007-12-05 09:25:20 -08:00
2007-12-05 09:25:19 -08:00
2007-10-19 11:53:37 -07:00
2007-10-17 08:43:04 -07:00
2007-10-18 14:37:29 -07:00
2007-10-21 02:37:18 -04:00
2007-11-07 04:11:42 -08:00
2007-12-23 12:54:37 -08:00
2007-10-22 08:13:21 -07:00
2007-10-22 08:13:21 -07:00
2007-11-29 09:24:53 -08:00
2007-12-17 19:28:16 -08:00
2007-12-17 19:28:16 -08:00
2007-10-22 08:13:21 -07:00
2007-07-20 10:11:58 +09:00
2007-11-29 09:24:54 -08:00
2007-10-22 08:13:21 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:45 -07:00
2007-11-14 18:45:40 -08:00
2007-10-22 08:13:21 -07:00
2007-12-05 09:21:20 -08:00
2007-10-17 18:49:59 -04:00
2007-12-04 01:35:41 -05:00
2007-11-14 18:45:38 -08:00
2007-10-09 17:17:53 -04:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2007-12-12 11:12:15 -05:00
2007-11-12 14:28:08 -08:00
2007-10-18 14:37:31 -07:00
2007-11-03 12:27:21 -07:00
2007-12-17 10:51:23 -08:00
2007-10-17 08:42:45 -07:00
2007-10-14 12:41:51 -07:00
2008-01-02 13:13:27 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-12-05 09:21:20 -08:00
2007-10-17 08:42:47 -07:00
2007-11-14 18:45:43 -08:00
2007-11-28 13:53:53 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:00 -07:00
2007-12-05 09:21:18 -08:00
2007-12-21 11:40:05 +11:00
2007-12-05 09:21:18 -08:00
2007-10-17 08:43:00 -07:00
2007-10-18 14:37:22 -07:00
2007-12-20 07:49:53 -08:00
2007-10-19 11:53:40 -07:00
2007-10-19 11:53:40 -07:00
2007-10-19 23:21:04 +02:00
2007-10-17 08:42:54 -07:00
2007-10-19 23:21:04 +02:00
2007-10-19 23:21:04 +02:00
2007-10-17 08:42:50 -07:00
2007-10-16 11:03:52 +02:00
2007-10-17 08:42:45 -07:00
2007-10-21 08:54:05 -07:00
2007-10-17 08:42:45 -07:00
2007-11-29 09:24:55 -08:00
2007-07-19 10:04:45 -07:00
2007-10-22 08:13:18 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-07-20 10:11:58 +09:00
2007-12-23 12:54:36 -08:00
2007-10-19 11:53:38 -07:00
2007-11-28 10:58:01 -08:00
2007-10-19 11:53:40 -07:00
2007-10-19 11:53:38 -07:00
2007-10-19 11:53:43 -07:00
2007-07-17 12:00:03 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:00 -07:00
2007-10-21 02:37:38 -04:00
2007-11-07 13:54:07 +01:00
2007-12-17 19:28:16 -08:00
2007-10-22 08:13:19 -07:00
2007-10-30 09:04:18 -07:00
2007-10-17 08:42:56 -07:00
2007-10-25 15:18:29 -07:00
2007-10-16 09:42:54 -07:00
2007-10-21 02:37:18 -04:00
2007-10-21 02:37:25 -04:00
2007-07-19 10:04:45 -07:00
2007-11-14 18:45:42 -08:00
2007-10-15 17:00:19 +02:00
2007-10-21 02:37:25 -04:00
2007-07-27 15:40:13 -07:00
2007-11-14 18:45:42 -08:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:55:33 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:07 -07:00
2007-10-19 23:21:04 +02:00
2007-07-26 11:35:17 -07:00
2007-10-17 08:42:52 -07:00
2007-10-21 02:37:18 -04:00