Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77128
b: refs/heads/master
c: d496f94
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and James Bottomley committed Jan 23, 2008
1 parent d028240 commit c1bf46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ace426f9575dd112252d72baaee4554fcb2e450
refs/heads/master: d496f94d22d1491ffb25f4000e85f7a4ecf7f2c4
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/aacraid/linit.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ static struct device_attribute *aac_dev_attrs[] = {
static int aac_ioctl(struct scsi_device *sdev, int cmd, void __user * arg)
{
struct aac_dev *dev = (struct aac_dev *)sdev->host->hostdata;
if (!capable(CAP_SYS_RAWIO))
return -EPERM;
return aac_do_ioctl(dev, cmd, arg);
}

Expand Down

0 comments on commit c1bf46b

Please sign in to comment.