linux/tools/testing/selftests/vm
Kyle Huey 29fbaa434c selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
commit 6ea25770b0 upstream.

This tests PTRACE_SETREGSET with NT_X86_XSTATE modifying PKRU directly and
removing the PKRU bit from XSTATE_BV.

Signed-off-by: Kyle Huey <me@kylehuey.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20221115230932.7126-7-khuey%40kylehuey.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-14 10:33:42 +01:00
..
.gitignore
charge_reserved_hugetlb.sh
compaction_test.c
config
gup_test.c
hmm-tests.c
hugepage-mmap.c
hugepage-mremap.c
hugepage-shm.c
hugepage-vmemmap.c
hugetlb_reparenting_test.sh
hugetlb-madvise.c
khugepaged.c
ksm_tests.c
madv_populate.c
Makefile
map_fixed_noreplace.c
map_hugetlb.c
map_populate.c
memfd_secret.c
migration.c
mlock-random-test.c
mlock2-tests.c
mlock2.h
mrelease_test.c
mremap_dontunmap.c
mremap_test.c
on-fault-limit.c
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h
protection_keys.c
run_vmtests.sh
settings
soft-dirty.c
split_huge_page_test.c
test_hmm.sh
test_vmalloc.sh
thuge-gen.c
transhuge-stress.c
userfaultfd.c
util.h
va_128TBswitch.c
va_128TBswitch.sh
virtual_address_range.c
vm_util.c
vm_util.h
write_hugetlb_memory.sh
write_to_hugetlbfs.c