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

From: Alan Cox
Date: Wed Sep 15 2004 - 17:48:52 EST


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.

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