Home
last modified time | relevance | path

Searched refs:PKEY_DISABLE_ACCESS (Results 1 – 2 of 2) sorted by relevance

/tools/include/uapi/asm-generic/
Dmman-common.h76 #define PKEY_DISABLE_ACCESS 0x1 macro
78 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/tools/testing/selftests/x86/
Dprotection_keys.c395 #ifndef PKEY_DISABLE_ACCESS
396 # define PKEY_DISABLE_ACCESS 0x1 macro
405 u32 mask = (PKEY_DISABLE_ACCESS|PKEY_DISABLE_WRITE); in hw_pkey_get()
427 u32 mask = (PKEY_DISABLE_ACCESS|PKEY_DISABLE_WRITE); in hw_pkey_set()
457 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()
493 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear()
525 pkey_disable_clear(pkey, PKEY_DISABLE_ACCESS); in pkey_access_allow()
529 pkey_disable_set(pkey, PKEY_DISABLE_ACCESS); in pkey_access_deny()