Re: disk-destroyer.c

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jul 22 2000 - 09:00:43 EST


> > So disk2brick.c will just bypass the kernel API and bit-bang on the IDE
> > controller directly...
>
> If a usermode app can hit the hardware directly like that, there's
> something VERY broken...

All root usermode apps can access ioports b y specifically enabling access.
Its how X11 works for one. CAP_SYS_RAWIO controls this so you can revoke it
in init if paranoid.\

Its a policy flag.

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



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:18 EST