Re: [PATCH v5 3/3] selftests/mm: skip the ksm PROT_NONE test without FOLL_FORCE

From: David Hildenbrand (Arm)

Date: Thu Dec 03 2026 - 10:29:13 EST


On 12/1/26 20:16, Nikolai Dokutovich wrote:
> test_prot_none() fails when the kernel does not allow forced writes:
>
> not ok 5 ptrace write failed
>
> Check the permission at the start of the test and skip instead.
>
> Signed-off-by: Nikolai Dokutovich <ndokutovich@xxxxxxxxx>

Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David