diff options
author | Stephen Kitt <steve@sk2.org> | 2020-04-23 20:36:49 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-04-28 20:39:33 +0200 |
commit | 6bc47621cbf357a9b7bab3890489804f38916a35 (patch) | |
tree | e31d1ec1b8e1669ad2398b5030482b7c5c145ffe /Documentation/admin-guide/sysctl | |
parent | docs: virt/kvm: close inline string literal (diff) | |
download | linux-6bc47621cbf357a9b7bab3890489804f38916a35.tar.xz linux-6bc47621cbf357a9b7bab3890489804f38916a35.zip |
docs: sysctl/kernel: document cad_pid
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>
Diffstat (limited to 'Documentation/admin-guide/sysctl')
-rw-r--r-- | Documentation/admin-guide/sysctl/kernel.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst index 55b24eada13c..82bfd5892663 100644 --- 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 ============ |