From: Anton Vorontsov Date: Thu, 31 May 2012 23:26:25 +0000 (-0700) Subject: um: should hold tasklist_lock while traversing processes X-Git-Tag: v3.5-rc1~21^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd0a077122a6b15069aab7a59c8f50f736fa1dd;p=pandora-kernel.git 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 Cc: Richard Weinberger Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed