Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1433439

Re: Review of ptrace Yama ptrace_scope description

From "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Newsgroups linux.kernel
Subject Re: Review of ptrace Yama ptrace_scope description
Date 2016-06-29 07:00 +0200
Message-ID <rPfLr-85s-1@gated-at.bofh.it> (permalink)
References <rNQm5-2Cb-5@gated-at.bofh.it> <rNWUx-6C6-1@gated-at.bofh.it> <rOUxj-35E-11@gated-at.bofh.it> <rP8gW-3r9-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Jann,
...

>> So I've made that section of text:
>>
>>        A  process  that  has the CAP_SYS_PTRACE capability can update the
>>        /proc/sys/kernel/yama/ptrace_scope file with one of the  following
>>        values:
>>
>>        0 ("classic ptrace permissions")
>>               No  additional  restrictions  on  operations  that  perform
>>               PTRACE_MODE_ATTACH checks (beyond those imposed by the com‐
>>               moncap and other LSMs).
>>
>>               The use of PTRACE_TRACEME is unchanged.
>>
>>        1 ("restricted ptrace") [default value]
>>               When    performing    an    operation   that   requires   a
>>               PTRACE_MODE_ATTACH check, the calling process  must  either
>>               have the CAP_SYS_PTRACE capability in the user namespace of
>>               the target process or it  have  a  predefined  relationship
>>               with  the target process.
>
> Nit: The grammar in this sentence seems wrong to me.
> s/or it have/or it must have/?

Yep, thanks for catching that. Fixed now.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Review of ptrace Yama ptrace_scope description "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-06-25 09:40 +0200
  Re: Review of ptrace Yama ptrace_scope description Jann Horn <jann@thejh.net> - 2016-06-25 16:40 +0200
    Re: Review of ptrace Yama ptrace_scope description "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-06-28 08:20 +0200
      Re: Review of ptrace Yama ptrace_scope description Jann Horn <jann@thejh.net> - 2016-06-28 23:00 +0200
        Re: Review of ptrace Yama ptrace_scope description "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-06-29 07:00 +0200
      Re: Review of ptrace Yama ptrace_scope description Kees Cook <keescook@chromium.org> - 2016-06-28 23:00 +0200
        Re: Review of ptrace Yama ptrace_scope description "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-06-29 07:10 +0200

csiph-web