aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/kernel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
-rw-r--r--Documentation/sysctl/kernel.txt33
1 files changed, 31 insertions, 2 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 3894eaa23486..5e7cb39ad195 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -28,11 +28,13 @@ show up in /proc/sys/kernel:
28- core_uses_pid 28- core_uses_pid
29- ctrl-alt-del 29- ctrl-alt-del
30- dentry-state 30- dentry-state
31- dmesg_restrict
31- domainname 32- domainname
32- hostname 33- hostname
33- hotplug 34- hotplug
34- java-appletviewer [ binfmt_java, obsolete ] 35- java-appletviewer [ binfmt_java, obsolete ]
35- java-interpreter [ binfmt_java, obsolete ] 36- java-interpreter [ binfmt_java, obsolete ]
37- kptr_restrict
36- kstack_depth_to_print [ X86 only ] 38- kstack_depth_to_print [ X86 only ]
37- l2cr [ PPC only ] 39- l2cr [ PPC only ]
38- modprobe ==> Documentation/debugging-modules.txt 40- modprobe ==> Documentation/debugging-modules.txt
@@ -159,7 +161,8 @@ core_pattern is used to specify a core dumpfile pattern name.
159 %s signal number 161 %s signal number
160 %t UNIX time of dump 162 %t UNIX time of dump
161 %h hostname 163 %h hostname
162 %e executable filename 164 %e executable filename (may be shortened)
165 %E executable path
163 %<OTHER> both are dropped 166 %<OTHER> both are dropped
164. If the first character of the pattern is a '|', the kernel will treat 167. If the first character of the pattern is a '|', the kernel will treat
165 the rest of the pattern as a command to run. The core dump will be 168 the rest of the pattern as a command to run. The core dump will be
@@ -213,6 +216,19 @@ to decide what to do with it.
213 216
214============================================================== 217==============================================================
215 218
219dmesg_restrict:
220
221This toggle indicates whether unprivileged users are prevented from using
222dmesg(8) to view messages from the kernel's log buffer. When
223dmesg_restrict is set to (0) there are no restrictions. When
224dmesg_restrict is set set to (1), users must have CAP_SYSLOG to use
225dmesg(8).
226
227The kernel config option CONFIG_SECURITY_DMESG_RESTRICT sets the default
228value of dmesg_restrict.
229
230==============================================================
231
216domainname & hostname: 232domainname & hostname:
217 233
218These files can be used to set the NIS/YP domainname and the 234These files can be used to set the NIS/YP domainname and the
@@ -247,6 +263,19 @@ This flag controls the L2 cache of G3 processor boards. If
247 263
248============================================================== 264==============================================================
249 265
266kptr_restrict:
267
268This toggle indicates whether restrictions are placed on
269exposing kernel addresses via /proc and other interfaces. When
270kptr_restrict is set to (0), there are no restrictions. When
271kptr_restrict is set to (1), the default, kernel pointers
272printed using the %pK format specifier will be replaced with 0's
273unless the user has CAP_SYSLOG. When kptr_restrict is set to
274(2), kernel pointers printed using %pK will be replaced with 0's
275regardless of privileges.
276
277==============================================================
278
250kstack_depth_to_print: (X86 only) 279kstack_depth_to_print: (X86 only)
251 280
252Controls the number of words to print when dumping the raw 281Controls the number of words to print when dumping the raw
@@ -339,7 +368,7 @@ the different loglevels.
339 368
340- console_loglevel: messages with a higher priority than 369- console_loglevel: messages with a higher priority than
341 this will be printed to the console 370 this will be printed to the console
342- default_message_level: messages without an explicit priority 371- default_message_loglevel: messages without an explicit priority
343 will be printed with this priority 372 will be printed with this priority
344- minimum_console_loglevel: minimum (highest) value to which 373- minimum_console_loglevel: minimum (highest) value to which
345 console_loglevel can be set 374 console_loglevel can be set