Skip to content

Commit

Permalink
PKEY:selftest pkey_enforce_api for mprotect
Browse files Browse the repository at this point in the history
Add selftest for pkey_enforce_api for mprotect.

Signed-off-by: Jeff Xu<jeffxu@google.com>
  • Loading branch information
Jeff Xu authored and intel-lab-lkp committed May 19, 2023
1 parent e63dce6 commit ee635a3
Show file tree
Hide file tree
Showing 2 changed files with 876 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/mm/Makefile
Expand Up @@ -71,6 +71,7 @@ CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_64bit_pr
CAN_BUILD_WITH_NOPIE := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_program.c -no-pie)

VMTARGETS := protection_keys
VMTARGETS += pkey_enforce_api
BINARIES_32 := $(VMTARGETS:%=%_32)
BINARIES_64 := $(VMTARGETS:%=%_64)

Expand Down

0 comments on commit ee635a3

Please sign in to comment.