Commit 48d22684 authored by Linus Torvalds's avatar Linus Torvalds

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
parents e5eca6ae 8a535140
...@@ -2977,11 +2977,7 @@ static int selinux_task_prctl(int option, ...@@ -2977,11 +2977,7 @@ static int selinux_task_prctl(int option,
static int selinux_task_wait(struct task_struct *p) static int selinux_task_wait(struct task_struct *p)
{ {
u32 perm; return task_has_perm(p, current, PROCESS__SIGCHLD);
perm = signal_to_av(p->exit_signal);
return task_has_perm(p, current, perm);
} }
static void selinux_task_reparent_to_init(struct task_struct *p) static void selinux_task_reparent_to_init(struct task_struct *p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment