Anton Vorontsov 9bd0a07712 um: should hold tasklist_lock while traversing processes
Traversing the tasks requires holding tasklist_lock, otherwise it is
unsafe.

p.s.  However, I'm not sure that calling os_kill_ptraced_process() in the
atomic context is correct.  It seem to work, but please take a closer
look.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-31 17:49:30 -07:00
..
2009-04-01 08:59:17 -07:00
2011-05-25 08:39:41 -07:00
2009-12-15 08:53:25 -08:00
2011-11-02 14:15:26 +01:00
2010-09-22 17:22:39 -07:00
2012-05-21 21:09:36 +02:00
2012-05-05 13:00:26 +02:00
2012-03-25 00:29:52 +01:00
2010-09-22 17:22:39 -07:00
2012-03-25 00:29:52 +01:00
2012-05-21 21:09:33 +02:00
2012-05-05 13:00:26 +02:00
2008-02-05 09:44:30 -08:00