diff options
author | Tony Luck <tony.luck@intel.com> | 2005-06-20 12:35:34 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-06-20 12:35:34 -0400 |
commit | 8ba08378b479f472b37b83542c31bdad465033cf (patch) | |
tree | f4421227b3065e786c9041cf0ce0073a249e011b /kernel/signal.c | |
parent | 34b727c135ff651f153be5757056d25678b6d018 (diff) | |
parent | 8b22c249e7de453961e4d253b19fc2a0bdd65d53 (diff) |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index b3c24c732c5a..c89821b69ae3 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/ptrace.h> | 24 | #include <linux/ptrace.h> |
25 | #include <linux/posix-timers.h> | 25 | #include <linux/posix-timers.h> |
26 | #include <linux/signal.h> | 26 | #include <linux/signal.h> |
27 | #include <linux/audit.h> | ||
27 | #include <asm/param.h> | 28 | #include <asm/param.h> |
28 | #include <asm/uaccess.h> | 29 | #include <asm/uaccess.h> |
29 | #include <asm/unistd.h> | 30 | #include <asm/unistd.h> |
@@ -667,7 +668,11 @@ static int check_kill_permission(int sig, struct siginfo *info, | |||
667 | && (current->uid ^ t->suid) && (current->uid ^ t->uid) | 668 | && (current->uid ^ t->suid) && (current->uid ^ t->uid) |
668 | && !capable(CAP_KILL)) | 669 | && !capable(CAP_KILL)) |
669 | return error; | 670 | return error; |
670 | return security_task_kill(t, info, sig); | 671 | |
672 | error = security_task_kill(t, info, sig); | ||
673 | if (!error) | ||
674 | audit_signal_info(sig, t); /* Let audit system see the signal */ | ||
675 | return error; | ||
671 | } | 676 | } |
672 | 677 | ||
673 | /* forward decl */ | 678 | /* forward decl */ |