mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] aic94xx: world-writable sysfs update_bios file
Don't allow everybody to load firmware. Signed-off-by: Vasiliy Kulikov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
86cfa7fcb7
commit
8e91096597
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue