yama: clarify ptrace_scope=2 in Yama documentation
authorYves-Alexis Perez <corsac@corsac.net>
Tue, 2 Oct 2018 20:47:23 +0000 (22:47 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 7 Oct 2018 15:16:38 +0000 (09:16 -0600)
commit31527da5d673ed16255869b6d0f209285b8b0981
treeee059afd72527ebfee83f9b6a2c39f3d024b1654
parent98cee6742c80e35274bab06c5fa1141fe0abd910
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>
Documentation/admin-guide/LSM/Yama.rst