diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2018-10-02 22:47:23 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-10-07 17:16:38 +0200 |
commit | 31527da5d673ed16255869b6d0f209285b8b0981 (patch) | |
tree | ee059afd72527ebfee83f9b6a2c39f3d024b1654 /Documentation | |
parent | docs/vm: split memory hotplug notifier description to Documentation/core-api (diff) | |
download | linux-31527da5d673ed16255869b6d0f209285b8b0981.tar.xz linux-31527da5d673ed16255869b6d0f209285b8b0981.zip |
yama: clarify ptrace_scope=2 in Yama documentation
Current phrasing is ambiguous since it's unclear if attaching to a
children through PTRACE_TRACEME requires CAP_SYS_PTRACE. Rephrase the
sentence to make that clear.
Signed-off-by: Yves-Alexis Perez <corsac@corsac.net>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/admin-guide/LSM/Yama.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/LSM/Yama.rst b/Documentation/admin-guide/LSM/Yama.rst index 13468ea696b7..d0a060de3973 100644 --- a/Documentation/admin-guide/LSM/Yama.rst +++ b/Documentation/admin-guide/LSM/Yama.rst @@ -64,8 +64,8 @@ The sysctl settings (writable only with ``CAP_SYS_PTRACE``) are: Using ``PTRACE_TRACEME`` is unchanged. 2 - admin-only attach: - only processes with ``CAP_SYS_PTRACE`` may use ptrace - with ``PTRACE_ATTACH``, or through children calling ``PTRACE_TRACEME``. + only processes with ``CAP_SYS_PTRACE`` may use ptrace, either with + ``PTRACE_ATTACH`` or through children calling ``PTRACE_TRACEME``. 3 - no attach: no processes may use ptrace with ``PTRACE_ATTACH`` nor via |