[SCSI] aacraid: Fix security hole
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 23 Jul 2007 13:51:05 +0000 (14:51 +0100)
committerJames Bottomley <jejb@mulgrave.localdomain>
Mon, 23 Jul 2007 21:52:30 +0000 (16:52 -0500)
commit60395bb60e0b5e4e0808ac8eb07a92f6c9cdea1f
tree032058570cc05fad9d021f962c299121ec9f59f2
parent1079ddcb07e0c39b576cd60174ca00ed9545c163
[SCSI] aacraid: Fix security hole

On the SCSI layer ioctl path there is no implicit permissions check for
ioctls (and indeed other drivers implement unprivileged ioctls). aacraid
however allows all sorts of very admin only things to be done so should
check.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/linit.c