Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
878ba03932d757ce4e954db4defec74a0de0435b
/
.
/
arch
/
x86
/
include
/
asm
/
pkeys.h
blob: 5061aec2ed5ebc8cd06603233ecfdb5ee2ef9e90 [
file
] [
log
] [
blame
]
#ifndef
_ASM_X86_PKEYS_H
#define
_ASM_X86_PKEYS_H
#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 */