angler-fishThe Vulnerability History Project

x86/ioperm: Extend IOPL config to control ioperm() as well

      If iopl() is disabled, then providing ioperm() does not make much sense.

Rename the config option and disable/enable both syscalls with it. Guard
the code with #ifdefs where appropriate.

Suggested-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    
commit 111e7b15cf10f6e973ccf537c70c66a5de539060
+5 -2
+6
+8 -1
+6 -1
+17 -9
+19 -7
+4
expand_less