projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad9a84
)
docs: sysctl/kernel: document cad_pid
author
Stephen Kitt
<steve@sk2.org>
Thu, 23 Apr 2020 18:36:49 +0000
(20:36 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Tue, 28 Apr 2020 18:39:33 +0000
(12:39 -0600)
Based on the implementation in kernel/sysctl.c (the proc_do_cad_pid()
function), kernel/reboot.c, and include/linux/sched/signal.h.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Link:
https://lore.kernel.org/r/20200423183651.15365-1-steve@sk2.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/admin-guide/sysctl/kernel.rst
b/Documentation/admin-guide/sysctl/kernel.rst
index 55b24eada13c61900b7f70b69b071912f05c7411..82bfd58926633724691ff29a0e92f2c59716165c 100644
(file)
--- a/
Documentation/admin-guide/sysctl/kernel.rst
+++ b/
Documentation/admin-guide/sysctl/kernel.rst
@@
-116,6
+116,16
@@
run. The statistics can be seen using ``bpftool``.
= ===================================
+cad_pid
+=======
+
+This is the pid which will be signalled on reboot (notably, by
+Ctrl-Alt-Delete). Writing a value to this file which doesn't
+correspond to a running process will result in ``-ESRCH``.
+
+See also `ctrl-alt-del`_.
+
+
cap_last_cap
============