]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: selftests: Add a pointer masking test
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 16 Oct 2024 20:27:48 +0000 (13:27 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 24 Oct 2024 21:12:58 +0000 (14:12 -0700)
commit7470b5afd150e683c7aef03961d0c4c6f500de3b
tree4ad8e6b0fd4c42ad1dc9efd39e37d29686efcd2f
parent78844482a1c939a972681842f8ee2a8ddb202441
riscv: selftests: Add a pointer masking test

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.

Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20241016202814.4061541-8-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
tools/testing/selftests/riscv/Makefile
tools/testing/selftests/riscv/abi/.gitignore [new file with mode: 0644]
tools/testing/selftests/riscv/abi/Makefile [new file with mode: 0644]
tools/testing/selftests/riscv/abi/pointer_masking.c [new file with mode: 0644]