From: Yves-Alexis Perez Date: Tue, 2 Oct 2018 20:47:23 +0000 (+0200) Subject: yama: clarify ptrace_scope=2 in Yama documentation X-Git-Tag: v5.4-rc1~2388^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31527da5d673ed16255869b6d0f209285b8b0981;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Kees Cook Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/admin-guide/LSM/Yama.rst b/Documentation/admin-guide/LSM/Yama.rst index 13468ea..d0a060d 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