Searched full:pkru (Results 1 – 7 of 7) sorted by relevance
| /freebsd/lib/libsys/x86/ |
| H A D | pkru.c | 57 uint32_t pkru; in x86_pkru_get_perm_hw() local 64 pkru = rdpkru(); in x86_pkru_get_perm_hw() 65 *access = (pkru & (1 << keyidx)) == 0; in x86_pkru_get_perm_hw() 66 *modify = (pkru & (2 << keyidx)) == 0; in x86_pkru_get_perm_hw() 88 uint32_t pkru; in x86_pkru_set_perm_hw() local 95 pkru = rdpkru(); in x86_pkru_set_perm_hw() 96 pkru &= ~(3 << keyidx); in x86_pkru_set_perm_hw() 98 pkru |= 1 << keyidx; in x86_pkru_set_perm_hw() 100 pkru |= 2 << keyidx; in x86_pkru_set_perm_hw() 101 wrpkru(pkru); in x86_pkru_set_perm_hw()
|
| H A D | Makefile.sys | 5 pkru.c \ 10 pkru.3
|
| H A D | pkru.3 | 66 A new per-thread PKRU hardware register determines, for each protection
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | pkru.sh | 147 printf("Still alive, pkru did not worked after fork"); 235 printf("Still alive, pkru persist did not worked"); 246 cat > /tmp/pkru.c <<EOF 247 /* $Id: pkru.c,v 1.27 2019/01/10 12:06:31 kostik Exp $ */ 248 /* cc -Wall -Wextra -g -O -o pkru64 pkru.c -lpthread */ 299 printf(" pkru 0x%08x", *(uint32_t *)( 345 printf("signal %d *pkru %08x\n", signo, *pkrup); 384 printf("pkru 0x%08x\n", rdpkru()); 394 printf("pkru 0x%08x\n", rdpkru()); 505 cc -Wall -Wextra -g -O -o pkru64 pkru.c -lpthread || exit 1 [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContext_x86.h | 336 PKRU = PT << 1, enumerator 337 LLVM_MARK_AS_BITMASK_ENUM(/*LargestValue*/ PKRU)
|
| /freebsd/sys/amd64/amd64/ |
| H A D | fpu.c | 364 * Revert enablement of PKRU if user disabled its in fpuinit()
|
| H A D | pmap.c | 4223 pmap_pkru_ranges_zone = uma_zcreate("pkru ranges", in pmap_pinit0() 7431 * the specified virtual address. Returns KERN_PROTECTION_FAILURE if the PKRU 7474 * If pkru is not same for the whole pde range, return failure in pmap_enter_pde()
|