Re: ioperm is kept on fork

From: H. Peter Anvin
Date: Tue Jun 16 2015 - 13:31:16 EST


On 06/16/2015 09:42 AM, Alex Henrie wrote:
> Hi,
>
> Could one of you knowledgeable kernel developers comment on
> https://bugzilla.kernel.org/show_bug.cgi?id=99911 ? The man pages
> maintainer wants to know when this behavior changed.
>

I know that I wrote a program which required I/O privileges at some
point, and it called ioperm() in a setuid wrapper. This was in the late
90s. I suspect we'd have to do a bit of a deep dive to double-check;
the old ioperm() code which only supported the ISA port range to avoid
having to copy the bitmap might be good to look at.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/