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

Alan Cox
2004-08-20T12:22:05Z

On Iau, 2004-08-19 at 20:19, Mark Lord wrote:
> >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;

These lines aren't in the prior to 2.6.8.1 SG_IO path...