Re: disk-destroyer.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 22 Jul 2000 15:00:43 +0100 (BST)


> > 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/