Re: SG_IO and security

From: Eric Lammerts
Date: Thu Aug 12 2004 - 18:01:42 EST



On Thu, 12 Aug 2004, Alan Cox wrote:
> In essence the interface (and the SCSI/ATA/.. layers below) don't
> seperate media and device. This also kicks in for partitioning since
> write access to /dev/hda1 giving me SG_IO scsi access doesn't enforce
> partitioning.

But who needs SG_IO on partition devices?
Why not simply disallow it completely for non-root users?

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