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/amd64/conf/GENERIC | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/arch/amd64/conf/GENERIC') diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index 8e97d6e..7a28038 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -7,6 +7,7 @@ // option SPECTRE_IBRS no // Enable the IBRS CPU feature option SERIAL_DEBUG yes // Enable kmsg serial logging +option USER_KMSG no // Show kmsg in user consoles // Kernel constants setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ) -- cgit v1.2.3