mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6: SELinux: always check SIGCHLD in selinux_task_wait
This commit is contained in:
commit
48d2268473
@ -2977,11 +2977,7 @@ static int selinux_task_prctl(int option,
|
||||
|
||||
static int selinux_task_wait(struct task_struct *p)
|
||||
{
|
||||
u32 perm;
|
||||
|
||||
perm = signal_to_av(p->exit_signal);
|
||||
|
||||
return task_has_perm(p, current, perm);
|
||||
return task_has_perm(p, current, PROCESS__SIGCHLD);
|
||||
}
|
||||
|
||||
static void selinux_task_reparent_to_init(struct task_struct *p)
|
||||
|
Loading…
Reference in New Issue
Block a user