projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/mm/pkeys: Allow kernel to modify user pkey rights register
[cascardo/linux.git]
/
arch
/
x86
/
include
/
asm
/
pkeys.h
diff --git
a/arch/x86/include/asm/pkeys.h
b/arch/x86/include/asm/pkeys.h
index
04243c2
..
5061aec
100644
(file)
--- a/
arch/x86/include/asm/pkeys.h
+++ b/
arch/x86/include/asm/pkeys.h
@@
-3,4
+3,7
@@
#define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1)
+extern int arch_set_user_pkey_access(struct task_struct *tsk, int pkey,
+ unsigned long init_val);
+
#endif /*_ASM_X86_PKEYS_H */