diff options
author | Joe Malicki <jmalicki@metacarta.com> | 2008-08-14 17:14:48 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-08-16 10:32:24 -0500 |
commit | 66dca9b8c50b5e59d3bea8b21cee5c6dae6c9c46 (patch) | |
tree | 1bc8984becac06db8167f136f4d5c8ca8e6abdb4 /drivers/scsi/scsi_lib.c | |
parent | bcd2361d7eda10f85a103cbe70f7eebaeef03072 (diff) | |
download | blackbird-op-linux-66dca9b8c50b5e59d3bea8b21cee5c6dae6c9c46.tar.gz blackbird-op-linux-66dca9b8c50b5e59d3bea8b21cee5c6dae6c9c46.zip |
[SCSI] megaraid_sas: remove sysfs dbg_lvl world writeable permissions
/sys/bus/pci/drivers/megaraid_sas/dbg_lvl defaults to being
world-writable, which seems bad (letting any user affect kernel driver
behavior and logging level).
This turns off group and user write permissions, so that on typical
production systems only root can write to it.
[jejb: fix up rejections]
Signed-off-by: Joseph Malicki <jmalicki@metacarta.com>
Acked-by: "Yang, Bo" <Bo.Yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions