Searched refs:pkey_rights (Results 1 – 1 of 1) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 451 int pkey_rights; in pkey_disable_set() local 458 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 461 pkey, pkey, pkey_rights); in pkey_disable_set() 462 pkey_assert(pkey_rights >= 0); in pkey_disable_set() 464 pkey_rights |= flags; in pkey_disable_set() 466 ret = hw_pkey_set(pkey, pkey_rights, syscall_flags); in pkey_disable_set() 474 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 476 pkey, pkey, pkey_rights); in pkey_disable_set() 489 int pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_clear() local 495 pkey, pkey, pkey_rights); in pkey_disable_clear() [all …]
|