Searched refs:execute_only_pkey (Results 1 - 9 of 9) sorted by relevance

/linux-master/arch/x86/mm/
H A Dpkeys.c17 int execute_only_pkey = mm->context.execute_only_pkey; local
21 if (execute_only_pkey == -1) {
23 execute_only_pkey = mm_pkey_alloc(mm);
24 if (execute_only_pkey < 0)
37 !__pkru_allows_read(read_pkru(), execute_only_pkey)) {
38 return execute_only_pkey;
45 ret = arch_set_user_pkey_access(current, execute_only_pkey,
52 mm_set_pkey_free(mm, execute_only_pkey);
58 mm->context.execute_only_pkey
[all...]
/linux-master/include/linux/
H A Dpkeys.h13 #define execute_only_pkey(mm) (0) macro
/linux-master/arch/x86/include/asm/
H A Dpkeys.h25 static inline int execute_only_pkey(struct mm_struct *mm) function
71 if (pkey == mm->context.execute_only_pkey)
H A Dmmu.h68 s16 execute_only_pkey; member in struct:__anon36
H A Dmmu_context.h154 mm->context.execute_only_pkey = -1;
204 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey;
/linux-master/arch/powerpc/mm/book3s64/
H A Dpkeys.c173 * Mark the execute_only_pkey as not available for
312 mm->context.execute_only_pkey = execute_only_key;
374 int execute_only_pkey(struct mm_struct *mm) function
376 return mm->context.execute_only_pkey;
385 return (vma_pkey(vma) == vma->vm_mm->context.execute_only_pkey);
406 pkey = execute_only_pkey(vma->vm_mm);
468 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey;
/linux-master/arch/powerpc/include/asm/
H A Dpkeys.h127 extern int execute_only_pkey(struct mm_struct *mm);
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dmmu.h134 s16 execute_only_pkey; /* key holding execute-only protection */ member in struct:__anon6
/linux-master/mm/
H A Dmmap.c1271 pkey = execute_only_pkey(mm);

Completed in 204 milliseconds