The patch titled
limit print_fatal_signal() rate
has been added to the -mm tree. Its filename is
vdso-print-fatal-signals-fix.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: limit print_fatal_signal() rate
From: Andrea Righi <[EMAIL PROTECTED]>
Limit the rate of print_fatal_signal() to avoid potential denial-of-service
attacks.
Signed-off-by: Andrea Righi <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
kernel/signal.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff -puN kernel/signal.c~vdso-print-fatal-signals-fix kernel/signal.c
--- a/kernel/signal.c~vdso-print-fatal-signals-fix
+++ a/kernel/signal.c
@@ -709,7 +709,10 @@ int print_fatal_signals = 0;
static void print_fatal_signal(struct pt_regs *regs, int signr)
{
- printk("%s/%d: potentially unexpected fatal signal %d.\n",
+ if (unlikely(!printk_ratelimit()))
+ return;
+
+ printk(KERN_WARNING "%s/%d: potentially unexpected fatal signal %d.\n",
current->comm, current->pid, signr);
#ifdef __i386__
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
vdso-print-fatal-signals-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html