]> 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)
commit3a21cfdec2e0914ae3bf07dd6a30c3e2ed6c68b0
treef052abbf816238548d278d20cd8164daa7cd4dcc
parent7b9e7bfa1102114fdf61f36dd644d446412dac11
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