Skip to contentSkip to conversation

parisc: ratelimit userspace segfault printing

PATCH New Helge Deller 1 participant 1 message May 5, 2014 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 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.

arch/parisc/Kconfig +1 -0
index 1faefed..108d48e 100644
@@ -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