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.c68 #define pkey_assert(condition) do { \ macro
304 pkey_assert(*pkru_ptr); in signal_handler()
317 pkey_assert(siginfo_pkey < NR_PKEYS); in signal_handler()
359 pkey_assert(rs == 0); in setup_sigsegv_handler()
367 pkey_assert(r == 0); in setup_sigsegv_handler()
381 pkey_assert(forkret >= 0); in fork_lazy_child()
456 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()
462 pkey_assert(pkey_rights >= 0); in pkey_disable_set()
472 pkey_assert(ret >= 0); in pkey_disable_set()
480 pkey_assert(rdpkru() > orig_pkru); in pkey_disable_set()
[all …]