diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sysctl/fs.txt | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt index 13d6166d7a27..8c235b6e4246 100644 --- a/Documentation/sysctl/fs.txt +++ b/Documentation/sysctl/fs.txt | |||
@@ -163,16 +163,22 @@ This value can be used to query and set the core dump mode for setuid | |||
163 | or otherwise protected/tainted binaries. The modes are | 163 | or otherwise protected/tainted binaries. The modes are |
164 | 164 | ||
165 | 0 - (default) - traditional behaviour. Any process which has changed | 165 | 0 - (default) - traditional behaviour. Any process which has changed |
166 | privilege levels or is execute only will not be dumped | 166 | privilege levels or is execute only will not be dumped. |
167 | 1 - (debug) - all processes dump core when possible. The core dump is | 167 | 1 - (debug) - all processes dump core when possible. The core dump is |
168 | owned by the current user and no security is applied. This is | 168 | owned by the current user and no security is applied. This is |
169 | intended for system debugging situations only. Ptrace is unchecked. | 169 | intended for system debugging situations only. Ptrace is unchecked. |
170 | This is insecure as it allows regular users to examine the memory | ||
171 | contents of privileged processes. | ||
170 | 2 - (suidsafe) - any binary which normally would not be dumped is dumped | 172 | 2 - (suidsafe) - any binary which normally would not be dumped is dumped |
171 | readable by root only. This allows the end user to remove | 173 | anyway, but only if the "core_pattern" kernel sysctl is set to |
172 | such a dump but not access it directly. For security reasons | 174 | either a pipe handler or a fully qualified path. (For more details |
173 | core dumps in this mode will not overwrite one another or | 175 | on this limitation, see CVE-2006-2451.) This mode is appropriate |
174 | other files. This mode is appropriate when administrators are | 176 | when administrators are attempting to debug problems in a normal |
175 | attempting to debug problems in a normal environment. | 177 | environment, and either have a core dump pipe handler that knows |
178 | to treat privileged core dumps with care, or specific directory | ||
179 | defined for catching core dumps. If a core dump happens without | ||
180 | a pipe handler or fully qualifid path, a message will be emitted | ||
181 | to syslog warning about the lack of a correct setting. | ||
176 | 182 | ||
177 | ============================================================== | 183 | ============================================================== |
178 | 184 | ||