Re: NUMA-Q sys_ioperm()/sys_iopl()

Christoph Hellwig (hch@infradead.org)
Wed, 30 Apr 2003 13:55:21 +0100


On Wed, Apr 30, 2003 at 05:28:25AM -0700, William Lee Irwin III wrote:
> NUMA-Q cannot support these operations without significant
> infrastructure to emulate a global port io space for userspace to
> manipulate, possibly even with hooks into the scheduler.
>
> Not only are the applications depending on this particular form of
> privilege elevation generally inappropriate uses of these machines
> (they are large "server-class" machines, typically shipped and run
> headless), but the devices typically managed with these interfaces
> are already explicitly unsupported in UNIX configurations.
>
> This patch removes sys_iopl() and sys_ioperm() support conditional on
> #ifdef CONFIG_X86_NUMAQ to prevent the device register corruption
> condition without significant impact on core i386 support.

Please use cond_syscall to autogenerate the stubs, and make the compilation
of /ioport.c conditional on !CONFIG_X86_NUMAQ.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/