[lkml]   [2000]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: disk-destroyer.c
On Sat, Jul 22, 2000 at 11:10:57AM +0100, Anton Ivanov wrote:

> And on the topic of root/moot/etc every third if not every second workstation
> installation out there has some of the hdXX or sdXX with permissions that
> alllow non-root to mess with them. Reasons are numerous - CR rippers, CD
> writers, CD players, etc...
> First: you can blow up you firmware on CD devices as well. Happily. Quite a
> lot of them support flashing and firmware updates.
> Second: All the above programs do what? Execute tons of ioctls... and/or mess
> at low level. So if they blow up and pass bogus data before dying miserably...
> So if the kernel can check some stuff with no serious performance penalty it
> should do so.

Note that the ioctls in quiestion - those that are potentially dangerous
- do check for CAP_SYS_ADMIN, and thus you really have to *be* root, not
just have permissions to write to the device.

Vojtech Pavlik
SuSE Labs

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.129 / U:0.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site