Re: port specification under SCD_IOPORTS

Amon Ott <[email protected]>
Newsgroups gmane.linux.rsbac
Message-ID <[email protected]>
On Monday 07 November 2011 wrote Javier Juan Martínez Cabezón:
> I make this suggestion that I get realized after this thread from gentoo
> hardened:
>
> http://archives.gentoo.org/gentoo-hardened/msg_8160a0d4bb4e2a0cf09f91c06ded
>7001.xml
>
> I think if it could be, specify under SCD_IOPORTS  which port is permited
> to do iopl/ioperm request, something like AUTH makes with UIDs, since some
> software would require to only do privilege I/O port against one particular
> port and no to everyone. It's another less privilege approach that would be
> useful for example with propietary nvidia drivers that still using priv I/O
> ports to do his tasks.

Yes, this does make sense. I would either make it a new target type T_IOPORTS 
or use a special device major and the port address as minor. It does not fit 
into T_SCD then, though.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.