From: Eric Paris Date: Tue, 4 Nov 2008 20:18:26 +0000 (-0500) Subject: SELinux: hold tasklist_lock and siglock while waking wait_chldexit X-Git-Tag: v2.6.29-rc1~588^2^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d9f9c524a53477467b7e0111ff3d644198f191;p=pandora-kernel.git SELinux: hold tasklist_lock and siglock while waking wait_chldexit SELinux has long been calling wake_up_interruptible() on current->parent->signal->wait_chldexit without holding any locks. It appears that this operation should hold the tasklist_lock to dereference current->parent and we should hold the siglock when waking up the signal->wait_chldexit. Signed-off-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed