[PATCH] selftests/landlock: skip ptrace_test when YAMA is enabled

Mickaël Salaün mic at digikod.net
Thu Jul 7 14:25:31 UTC 2022


On 07/07/2022 01:35, Jeff Xu wrote:
> a correction:
> 
>     =====================================
>     case 0 - classic ptrace permissions: a process can PTRACE_ATTACH to
>     any other
>          process running under the same uid, as long as it is dumpable (i.e.
>          did not transition uids, start privileged, or have called
>          prctl(PR_SET_DUMPABLE...) already). Similarly, PTRACE_TRACEME is
>          unchanged.
> 
>     Test: All passing
> 
> // Base_test: 7/7 pass.
> // Fs_test 46/48 pass
> //.   not ok 47 layout2_overlay.no_restriction
> //.   not ok 48 layout2_overlay.same_content_different_file
> //  Ptrace 8/8 pass

Hmm, well, it is not related to Yama then. Could it be linked to other 
Chromium OS non-upstream patches?



More information about the Linux-security-module-archive mailing list