Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices

From: Mark Lord
Date: Thu Aug 19 2004 - 14:26:51 EST


>And what do you do the day someone posts "lock IDE drive with random
>password as any user" to bugtraq ?

I should hope that these lines in the driver would prevent such:

if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO))
return -EACCES;

Cheers
--
Mark Lord
(hdparm keeper & the original "Linux IDE Guy")
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/