Home
last modified time | relevance | path

Searched refs:PKEY_UNRESTRICTED (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c191 pkey_reg = set_pkey_bits(pkey_reg, 1, PKEY_UNRESTRICTED); in thread_segv_maperr_ptr()
309 pkey_reg = set_pkey_bits(pkey_reg, 0, PKEY_UNRESTRICTED); in test_sigsegv_handler_with_different_pkey_for_stack()
310 pkey_reg = set_pkey_bits(pkey_reg, 1, PKEY_UNRESTRICTED); in test_sigsegv_handler_with_different_pkey_for_stack()
314 pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in test_sigsegv_handler_with_different_pkey_for_stack()
364 pkey_reg = set_pkey_bits(pkey_reg, 0, PKEY_UNRESTRICTED); in test_pkru_preserved_after_sigusr1()
365 pkey_reg = set_pkey_bits(pkey_reg, 3, PKEY_UNRESTRICTED); in test_pkru_preserved_after_sigusr1()
366 pkey_reg = set_pkey_bits(pkey_reg, 7, PKEY_UNRESTRICTED); in test_pkru_preserved_after_sigusr1()
417 pkey_reg = set_pkey_bits(pkey_reg, 2, PKEY_UNRESTRICTED); in thread_sigusr2_self()
482 pkey_reg = set_pkey_bits(pkey_reg, 0, PKEY_UNRESTRICTED); in test_pkru_sigreturn()
483 pkey_reg = set_pkey_bits(pkey_reg, 2, PKEY_UNRESTRICTED); in test_pkru_sigreturn()
[all …]
H A Dpkey-helpers.h117 #ifndef PKEY_UNRESTRICTED
118 #define PKEY_UNRESTRICTED 0x0 macro
194 int ret = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in kernel_has_pkeys()
H A Dmseal_test.c221 int pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in pkey_supported()
1674 pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in test_seal_discard_ro_anon_on_pkey()
1686 set_pkey(pkey, PKEY_UNRESTRICTED); in test_seal_discard_ro_anon_on_pkey()
H A Dprotection_keys.c466 unsigned long init_val = PKEY_UNRESTRICTED; in alloc_pkey()
/linux/tools/testing/selftests/powerpc/include/
H A Dpkeys.h27 #undef PKEY_UNRESTRICTED
28 #define PKEY_UNRESTRICTED 0x0 macro
99 pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in pkeys_unsupported()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c60 pkey1 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
66 pkey2 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
69 pkey3 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
H A Dcore-pkey.c98 pkey1 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
104 pkey2 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
107 pkey3 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
/linux/include/uapi/asm-generic/
H A Dmman-common.h88 #define PKEY_UNRESTRICTED 0x0 macro
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h88 #define PKEY_UNRESTRICTED 0x0 macro
/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c75 pkey_set_rights(fault_pkey, PKEY_UNRESTRICTED); in segv_handler()
H A Dpkey_siginfo.c86 pkey_set_rights(pkey, PKEY_UNRESTRICTED); in segv_handler()