Oleg Nesterov
f8986c241d
[PATCH] revert "Drop tasklist lock in do_sched_setscheduler"
...
sched_setscheduler() looks at ->signal->rlim[]. It is unsafe do
dereference ->signal unless tasklist_lock or ->siglock is held (or p ==
current). We pin the task structure, but this can't prevent from
release_task()->__exit_signal() which sets ->signal = NULL.
Restore tasklist_lock across the setscheduler call.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-08-27 11:01: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-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
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-14 12:54:29 -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
2006-06-28 15:18:52 +10: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-08-27 11:01:29 -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-08-14 12:54:29 -07:00