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

From: Alan Cox
Date: Fri Aug 20 2004 - 07:25:09 EST


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

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