Skip to content
Commit 500de3dd authored by Thomas Renninger's avatar Thomas Renninger Committed by Matthew Garrett
Browse files

acpi ec_sys: Be more cautious about ec write access



- Set Kconfig option default n
- Only allow root to read/write io file (sever bug!)
- Introduce write support module param -> default off
- Properly clean up if any debugfs files cannot be created

Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
CC: mjg59@srcf.ucam.org
CC: platform-driver-x86@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: astarikovskiy@suse.de
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent de4f1046
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment