parisc: ratelimit userspace segfault printing
authorHelge Deller <deller@gmx.de>
Mon, 5 May 2014 16:07:12 +0000 (18:07 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 15 May 2014 19:12:15 +0000 (21:12 +0200)
commitfef47e2a2e1e75fe50a10f634a80f16808348cc6
treef052abbf816238548d278d20cd8164daa7cd4dcc
parent455c6fdbd219161bd09b1165f11699d6d73de11c
parisc: ratelimit userspace segfault printing

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>
Cc: stable@vger.kernel.org # 3.13+
arch/parisc/Kconfig
arch/parisc/kernel/traps.c
arch/parisc/mm/fault.c