Re: disk-destroyer.c

From: Bartlomiej Zolnierkiewicz (dake@staszic.waw.pl)
Date: Sat Jul 22 2000 - 13:43:57 EST


On Sat, 22 Jul 2000, Khimenko Victor wrote:
> >> What I tried to understand in between Andre's swearwords, is that you
> >> can enable drives to access a full set of parameters ("taskfile") or
> >> you can disable this. If you enable it, you can fry the drive. If you
> >> disable it, you can't but you can still use the regular ATA command
> >> set which is all that the kernel will ever need.
>
> > Yep. There's a big red self-destruct button on the drive. Either we leave
> > it enabled, or switch it off.
>
> 1. We can not switch it off while retaining raw hardware access.
> 2. We can make it inaccessible for someone without CAP_SYS_RAW by two lines
> patch instead of 60K patch.

I think that 2. is the right thing... just my 0.05 zl (polish currency :)...

--
Bartlomiej Zolnierkiewicz
<bkz@linux-ide.org>

- 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:19 EST