diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2016-02-06 08:08:08 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 23:26:15 +0100 |
commit | 1b6e75ee295990d866ded77c29ffc6f88b831e26 (patch) | |
tree | be2d35660bdbc4088286561852bf059121569ad5 /drivers/acpi/processor_driver.c | |
parent | Linux 4.5-rc7 (diff) | |
download | linux-1b6e75ee295990d866ded77c29ffc6f88b831e26.tar.xz linux-1b6e75ee295990d866ded77c29ffc6f88b831e26.zip |
ACPI / EC: Deny write access unless requested by module param
In debugfs it's not enough to just set file mode to read-only to
deny write access to a file, instead just don't provide
the write method unless write access is really requested.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Acked-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
0 files changed, 0 insertions, 0 deletions