Home
last modified time | relevance | path

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

/linux/arch/x86/mm/
A Dpkeys.c17 int execute_only_pkey = mm->context.execute_only_pkey; in __execute_only_pkey() local
21 if (execute_only_pkey == -1) { in __execute_only_pkey()
23 execute_only_pkey = mm_pkey_alloc(mm); in __execute_only_pkey()
24 if (execute_only_pkey < 0) in __execute_only_pkey()
37 !__pkru_allows_read(read_pkru(), execute_only_pkey)) { in __execute_only_pkey()
38 return execute_only_pkey; in __execute_only_pkey()
45 ret = arch_set_user_pkey_access(current, execute_only_pkey, in __execute_only_pkey()
52 mm_set_pkey_free(mm, execute_only_pkey); in __execute_only_pkey()
58 mm->context.execute_only_pkey = execute_only_pkey; in __execute_only_pkey()
59 return execute_only_pkey; in __execute_only_pkey()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c310 mm->context.execute_only_pkey = execute_only_key; in pkey_mm_init()
372 int execute_only_pkey(struct mm_struct *mm) in execute_only_pkey() function
374 return mm->context.execute_only_pkey; in execute_only_pkey()
383 return (vma_pkey(vma) == vma->vm_mm->context.execute_only_pkey); in vma_is_pkey_exec_only()
404 pkey = execute_only_pkey(vma->vm_mm); in __arch_override_mprotect_pkey()
466 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
/linux/arch/x86/include/asm/
A Dmmu_context.h115 mm->context.execute_only_pkey = -1; in init_new_context()
163 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
A Dpkeys.h25 static inline int execute_only_pkey(struct mm_struct *mm) in execute_only_pkey() function
74 if (pkey == mm->context.execute_only_pkey) in mm_pkey_is_allocated()
A Dmmu.h56 s16 execute_only_pkey; member
/linux/include/linux/
A Dpkeys.h13 #define execute_only_pkey(mm) (0) macro
/linux/arch/powerpc/include/asm/
A Dpkeys.h127 extern int execute_only_pkey(struct mm_struct *mm);
/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu.h132 s16 execute_only_pkey; /* key holding execute-only protection */ member
/linux/mm/
A Dmmap.c1461 pkey = execute_only_pkey(mm); in do_mmap()

Completed in 31 milliseconds