parisc: ratelimit userspace segfault printing
Helge Deller
maintainerPATCH 1/1 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.
Signed-off-by Helge Deller <[email protected]>
arch/parisc/Kconfig +1 -0
@@ -22,6 +22,7 @@ config PARISC select GENERIC_SMP_IDLE_THREAD select GENERIC_STRNCPY_FROM_USER select SYSCTL_ARCH_UNALIGN_ALLOW + select SYSCTL_EXCEPTION_TRACE select HAVE_MOD_ARCH_SPECIFIC select VIRT_TO_BUS select MODULES_USE_ELF_RELA
arch/parisc/kernel/traps.c +25 -29
99 lines not on this page · raw message
arch/parisc/mm/fault.c +30 -14
68 lines not on this page · raw message