printk: add kernel parameter to control writes to /dev/kmsg
[linux-2.6-block.git] / Documentation / sysctl / kernel.txt
index 33204604de6c678899af012d6232afec7ee6d753..ffab8b5caa603ddbf82c5cc694472bd373991b75 100644 (file)
@@ -764,6 +764,20 @@ send before ratelimiting kicks in.
 
 ==============================================================
 
+printk_devkmsg:
+
+Control the logging to /dev/kmsg from userspace:
+
+ratelimit: default, ratelimited
+on: unlimited logging to /dev/kmsg from userspace
+off: logging to /dev/kmsg disabled
+
+The kernel command line parameter printk.devkmsg= overrides this and is
+a one-time setting until next reboot: once set, it cannot be changed by
+this sysctl interface anymore.
+
+==============================================================
+
 randomize_va_space:
 
 This option can be used to select the type of process address