]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd871ffe10580afea1662a563b0a1345723b6be80
treef052abbf816238548d278d20cd8164daa7cd4dcc
parent837ca78edf52818164c21c170b79badb0e52548b
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