From 51ca9c82c3e8fb323d238e1f58a085f4cb306110 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 28 May 2025 23:31:46 -0400 Subject: kernel: syslog: Handle userspace kmsg logging - Add USER_KMSG option to configure if kernel messages should be logged in user contexts - Add syslog_silence() to silence kernel messages in user contexts if USER_KMSG is "yes" Signed-off-by: Ian Moffett --- sys/arch/aarch64/conf/GENERIC | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/arch/aarch64') diff --git a/sys/arch/aarch64/conf/GENERIC b/sys/arch/aarch64/conf/GENERIC index 3271cb7..a716ac2 100644 --- a/sys/arch/aarch64/conf/GENERIC +++ b/sys/arch/aarch64/conf/GENERIC @@ -1,5 +1,6 @@ // Kernel options option SERIAL_DEBUG yes // Enable kmsg serial logging +option USER_KMSG yes // Show kmsg in user consoles // Kernel constants setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ) -- cgit v1.2.3