Kirill Korotaev
6997a6faaa
[PATCH] sys_getppid oopses on debug kernel
...
sys_getppid() optimization can access a freed memory. On kernels with
DEBUG_SLAB turned ON, this results in Oops. As Dave Hansen noted, this
optimization is also unsafe for memory hotplug.
So this patch always takes the lock to be safe.
[oleg@tv-sign.ru: simplifications]
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Cc: <stable@kernel.org>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-08-14 12:54:29 -07:00
..
2006-07-31 13:28:36 -07:00
2006-08-06 08:57:45 -07:00
2006-06-26 09:58:21 -07:00
2006-01-03 11:35:26 +01:00
2006-07-14 21:53:54 -07:00
2006-08-03 10:50:39 -04:00
2006-07-01 05:43:06 -04:00
2006-08-03 10:55:18 -04:00
2006-08-03 10:59:51 -04:00
2006-07-03 15:27:11 -07:00
2006-06-25 10:01:15 -07:00
2006-06-30 19:25:36 +02:00
2006-07-23 12:12:16 -07:00
2006-07-23 13:03:05 -07:00
2006-07-31 13:28:37 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:57 -07:00
2006-05-15 11:20:55 -07:00
2006-08-06 08:57:46 -07:00
2006-08-06 08:57:49 -07:00
2006-08-06 08:57:46 -07:00
2006-08-14 12:54:28 -07:00
2006-03-26 08:57:03 -08:00
2006-07-14 21:53:52 -07:00
2005-06-23 09:45:10 -07:00
2005-06-25 16:24:45 -07:00
2006-06-28 15:18:52 +10:00
2005-10-08 15:00:57 -07:00
2006-07-03 15:27:09 -07:00
2006-07-31 13:28:38 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:52 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-07-10 13:24:14 -07:00
2006-07-14 21:53:56 -07:00
2006-07-14 21:53:52 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:04 -07:00
2006-08-14 12:54:28 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:11 -07:00
2006-06-17 10:52:13 -07:00
2006-03-26 08:57:03 -08:00
2006-08-06 08:57:47 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:11 -07:00
2006-07-31 13:28:39 -07:00
2006-06-27 17:32:40 -07:00
2006-03-23 19:58:45 +01:00
2006-08-06 08:57:48 -07:00
2006-06-27 17:32:47 -07:00
2006-07-03 15:27:11 -07:00
2006-07-03 15:27:01 -07:00
2006-07-14 21:53:53 -07:00
2006-07-31 13:28:43 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-07-31 13:28:41 -07:00
2005-04-16 15:20:36 -07:00
2006-08-02 20:17:49 -07:00
2006-07-31 13:28:42 -07:00
2006-07-31 13:28:39 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:02 -07:00
2006-07-03 21:25:20 -07:00
2006-06-23 07:42:53 -07:00
2006-07-12 12:50:25 -07:00
2006-07-03 15:26:59 -07:00
2006-07-31 13:28:37 -07:00
2006-06-26 09:58:20 -07:00
2006-08-14 12:54:29 -07:00
2006-04-19 16:27:18 -07:00
2006-06-26 10:48:18 -07:00
2006-06-22 15:05:55 -07:00
2006-07-10 13:24:25 -07:00
2006-07-31 13:28:40 -07:00