Lines Matching defs:pkey
91 int pkey;
94 * We don't try to fetch the pkey from page table because reading
96 * Hence the pkey value that we return to userspace can be different
97 * from the pkey that actually caused access error.
102 * 1. T1 : mprotect_key(foo, PAGE_SIZE, pkey=4);
103 * 2. T1 : set AMR to deny access to pkey=4, touches, page
105 * 4. T2: mprotect_key(foo, PAGE_SIZE, pkey=5);
108 * faulted on a pte with its pkey=4.
110 pkey = vma_pkey(vma);
122 _exception_pkey(regs, address, pkey);
235 * faults just to hit a pkey fault as soon as we fill in a
280 * We should ideally do the vma pkey access check here. But in the