Skip to content
Commit bb7d3f24 authored by Bryn M. Reeves's avatar Bryn M. Reeves Committed by Linus Torvalds
Browse files

[SCSI] megaraid_sas: remove sysfs poll_mode_io world writeable permissions



/sys/bus/pci/drivers/megaraid_sas/poll_mode_io defaults to being
world-writable, which seems bad (letting any user affect kernel driver
behavior).

This turns off group and user write permissions, so that on typical
production systems only root can write to it.

Signed-off-by: default avatarBryn M. Reeves <bmr@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 90aeb7c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment