aacraid: fix security hole
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 23 Jul 2007 13:51:05 +0000 (14:51 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Jul 2007 19:33:46 +0000 (12:33 -0700)
commit719be62903a6e6419789557cb3ed0e840d3e4ca9
treeb843d2f421a019f327e2e7dde707ccb0a0e12155
parent6e8a43c8432649686921b57255db8172edcebf6f
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: Mark Salyzyn <mark_salyzyn@adaptec.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/aacraid/linit.c