diff options
| author | Oleg Drokin <[email protected]> | 2016-02-06 07:08:08 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-03-09 22:26:15 +0000 |
| commit | 1b6e75ee295990d866ded77c29ffc6f88b831e26 (patch) | |
| tree | be2d35660bdbc4088286561852bf059121569ad5 /drivers/acpi/utils.c | |
| parent | Linux 4.5-rc7 (diff) | |
| download | kernel-1b6e75ee295990d866ded77c29ffc6f88b831e26.tar.gz kernel-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 <[email protected]>
Acked-by: Thomas Renninger <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/utils.c')
0 files changed, 0 insertions, 0 deletions
