parisc: ratelimit userspace segfault printing
authorHelge Deller <deller@gmx.de>
Mon, 5 May 2014 16:07:12 +0000 (18:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:23 +0000 (10:28 -0700)
commit7278cee18cdcaca8cad7e453382f3ffd2a1949ab
treec708f243a93fd641ae021b12e1c35c6cbca2aaf1
parent5e1367f31dab0cc508e795f66d34267eab1cff09
parisc: ratelimit userspace segfault printing

commit fef47e2a2e1e75fe50a10f634a80f16808348cc6 upstream.

Ratelimit printing of userspace segfaults and make it runtime
configurable via the /proc/sys/debug/exception-trace variable. This
should resolve syslog from growing way too fast and thus prevents
possible system service attacks.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/Kconfig
arch/parisc/kernel/traps.c
arch/parisc/mm/fault.c