Re: [PATCH v3] x86/umip: Warn if UMIP-protected instructions are used

2017-11-20 Thread Ingo Molnar
* Ricardo Neri wrote: > Print a rate-limited warning when a user space program attempts to execute > any of the instructions that UMIP protects (i.e., SGDT, SIDT, SLDT, STR > and SMSW). > > This is useful because, when CONFIG_X86_INTEL_UMIP is selected and > supported by the hardware, user spac

[PATCH v3] x86/umip: Warn if UMIP-protected instructions are used

2017-11-20 Thread Ricardo Neri
Print a rate-limited warning when a user space program attempts to execute any of the instructions that UMIP protects (i.e., SGDT, SIDT, SLDT, STR and SMSW). This is useful because, when CONFIG_X86_INTEL_UMIP is selected and supported by the hardware, user space programs that try to execute such i