If unsure, say Y.
- -config X86_INTEL_UMIP
+ +config X86_UMIP
def_bool y
- - depends on CPU_SUP_INTEL
- - prompt "Intel User Mode Instruction Prevention" if EXPERT
- ---help---
- The User Mode Instruction Prevention (UMIP) is a security
- feature in newer Intel processors. If enabled, a general
- protection fault is issued if the SGDT, SLDT, SIDT, SMSW
- or STR instructions are executed in user mode. These instructions
- unnecessarily expose information about the hardware state.
+ + depends on CPU_SUP_INTEL || CPU_SUP_AMD
+ + prompt "User Mode Instruction Prevention" if EXPERT
+ ---help---
- The User Mode Instruction Prevention (UMIP) is a security
- feature in newer Intel processors. If enabled, a general
- protection fault is issued if the SGDT, SLDT, SIDT, SMSW
- or STR instructions are executed in user mode. These instructions
- unnecessarily expose information about the hardware state.
+ + User Mode Instruction Prevention (UMIP) is a security feature in
+ + some x86 processors. If enabled, a general protection fault is
+ + issued if the SGDT, SLDT, SIDT, SMSW or STR instructions are
+ + executed in user mode. These instructions unnecessarily expose
+ + information about the hardware state.
The vast majority of applications do not use these instructions.
For the very few that do, software emulation is provided in