summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/GENERIC
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-28 23:31:46 -0400
committerIan Moffett <ian@osmora.org>2025-05-28 23:36:34 -0400
commit51ca9c82c3e8fb323d238e1f58a085f4cb306110 (patch)
treec48309afbff0dccb21f4dde2a43203d5148fd60b /sys/arch/amd64/conf/GENERIC
parentcb807eb795e1380513db4c7dbce0452645746abf (diff)
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 <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64/conf/GENERIC')
-rw-r--r--sys/arch/amd64/conf/GENERIC1
1 files changed, 1 insertions, 0 deletions
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)