diff options
author | Eric Paris <eparis@redhat.com> | 2008-11-04 23:18:26 +0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-11-05 00:44:11 +0300 |
commit | 41d9f9c524a53477467b7e0111ff3d644198f191 (patch) | |
tree | b891d648d756d7195bab5c0f55f105cd00d8f94a /security/selinux/nlmsgtab.c | |
parent | 8b6a5a37f87a414ef8636e36ec75accb27bb7508 (diff) | |
download | linux-41d9f9c524a53477467b7e0111ff3d644198f191.tar.xz |
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 <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/nlmsgtab.c')
0 files changed, 0 insertions, 0 deletions