Skip to content
Commit 6ea25770 authored by Kyle Huey's avatar Kyle Huey Committed by Dave Hansen
Browse files

selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace



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

Signed-off-by: default avatarKyle Huey <me@kylehuey.com>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20221115230932.7126-7-khuey%40kylehuey.com
parent d7e5acea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment