Re: [PATCH 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2013-11-06 Thread Alexander van Heukelum
Hi Josh, On Tue, Oct 22, 2013, at 3:35, Josh Triplett wrote: On the vast majority of modern systems, no processes will use the userspsace I/O syscalls, iopl and ioperm. Add a new config option, CONFIG_X86_IOPORT, to support configuring them out of the kernel entirely. Since these syscalls

Re: [PATCH 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2013-11-01 Thread Josh Triplett
On Thu, Oct 31, 2013 at 09:04:42PM +0100, Alexander van Heukelum wrote: On Tue, Oct 22, 2013, at 3:35, Josh Triplett wrote: --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -976,6 +976,16 @@ config VM86 XFree86 to initialize some video cards via BIOS. Disabling this option

Re: [PATCH 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2013-10-25 Thread Stephen Hemminger
I/O from userspace is used to implement usermode virtio driver(s). This has been done independently by Intel, Brocade/Vyatta, and 6Wind. Sorry, it has to stay. On Mon, Oct 21, 2013 at 7:35 PM, Josh Triplett j...@joshtriplett.org wrote: On the vast majority of modern systems, no processes will

Re: [PATCH 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2013-10-25 Thread Kees Cook
On Sat, Oct 26, 2013 at 4:17 AM, Stephen Hemminger step...@networkplumber.org wrote: I/O from userspace is used to implement usermode virtio driver(s). This has been done independently by Intel, Brocade/Vyatta, and 6Wind. Sorry, it has to stay. This isn't about removing it, it's about putting

[PATCH 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2013-10-22 Thread Josh Triplett
On the vast majority of modern systems, no processes will use the userspsace I/O syscalls, iopl and ioperm. Add a new config option, CONFIG_X86_IOPORT, to support configuring them out of the kernel entirely. Since these syscalls only exist to support rare legacy userspace programs, X86_IOPORT