diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 17:59:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 17:59:46 +0200 |
commit | 48d2268473a66fe3aa78fb13b09ee59d6ee95073 (patch) | |
tree | 20d55db1f93294f006ce79156a05652dfa7a8048 /security | |
parent | Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/... (diff) | |
parent | SELinux: always check SIGCHLD in selinux_task_wait (diff) | |
download | linux-48d2268473a66fe3aa78fb13b09ee59d6ee95073.tar.xz linux-48d2268473a66fe3aa78fb13b09ee59d6ee95073.zip |
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
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/hooks.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 24e1b1885de7..9f3124b08867 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -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) |