blob: 5061aec2ed5ebc8cd06603233ecfdb5ee2ef9e90 (
plain)
1
2
3
4
5
6
7
8
9
|
#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 */
|