Re: [RFC PATCH 9/9] selftests: riscv: Add a pointer masking test
From: Samuel Holland
Date: Wed Mar 20 2024 - 14:04:45 EST
Hi Conor,
On 2024-03-20 12:21 PM, Conor Dooley wrote:
> On Tue, Mar 19, 2024 at 02:58:35PM -0700, Samuel Holland wrote:
>> This test covers the behavior of the PR_SET_TAGGED_ADDR_CTRL and
>> PR_GET_TAGGED_ADDR_CTRL prctl() operations, their effects on the
>> userspace ABI, and their effects on the system call ABI.
>>
>> Signed-off-by: Samuel Holland <samuel.holland@xxxxxxxxxx>
>> ---
>>
>> tools/testing/selftests/riscv/Makefile | 2 +-
>> tools/testing/selftests/riscv/tags/Makefile | 10 +
>> .../selftests/riscv/tags/pointer_masking.c | 307 ++++++++++++++++++
>
> I dunno much about selftests, but this patch seems to produce some
> warnings about gitignores with allmodconfig:
> tools/testing/selftests/riscv/tags/Makefile: warning: ignored by one of the .gitignore files
> tools/testing/selftests/riscv/tags/pointer_masking.c: warning: ignored by one of the .gitignore files
This is because the "tags" directory name is ignored by the top-level
gitignore. I chose the name to match tools/testing/selftests/arm64/tags, but I
am fine with renaming it to avoid the warning.
Regards,
Samuel