Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e910965 authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by James Bottomley
Browse files

[SCSI] aic94xx: world-writable sysfs update_bios file



Don't allow everybody to load firmware.

Signed-off-by: default avatarVasiliy Kulikov <segoon@openwall.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <jbottomley@parallels.com>
parent 86cfa7fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -486,7 +486,7 @@ static ssize_t asd_show_update_bios(struct device *dev,
			flash_error_table[i].reason);
}

static DEVICE_ATTR(update_bios, S_IRUGO|S_IWUGO,
static DEVICE_ATTR(update_bios, S_IRUGO|S_IWUSR,
	asd_show_update_bios, asd_store_update_bios);

static int asd_create_dev_attrs(struct asd_ha_struct *asd_ha)