Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c67 #define pkey_assert(condition) do { \ macro
278 pkey_assert(*pkru_ptr); in signal_handler()
284 pkey_assert(si_pkey < NR_PKEYS); in signal_handler()
349 pkey_assert(rs == 0); in setup_sigsegv_handler()
357 pkey_assert(r == 0); in setup_sigsegv_handler()
371 pkey_assert(forkret >= 0); in fork_lazy_child()
469 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()
475 pkey_assert(pkey_rights >= 0); in pkey_disable_set()
485 pkey_assert(ret >= 0); in pkey_disable_set()
493 pkey_assert(rdpkru() > orig_pkru); in pkey_disable_set()
[all …]