Re: [PATCH-NEW] allow root to modify raw scsi command permissionslist

From: Peter Jones
Date: Wed Sep 15 2004 - 18:13:44 EST


On Wed, 2004-09-15 at 22:38 +0100, Alan Cox wrote:
> On Mer, 2004-09-15 at 22:08, Marc Ballarin wrote:
> > Hi,
> > this is a modified version of the previous patch.
>
> You need to check for capable(CAP_SYS_RAWIO) otherwise you elevate
> anyone with access bypass capabilities to CAP_SYS_RAWIO equivalent
> powers.

Do you mean in the ->store path?
--
Peter

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