summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-11-25 13:36:16 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-12-01 22:19:30 +0300
commitb66f86849414807745b5c2129e2de5f27a788c9f (patch)
treea170d69bffcb423b1dc624b054a9849ea28ecf61 /include
parentbefd9b5b0c621af33a363596c65a8fc0176e2795 (diff)
downloadlinux-b66f86849414807745b5c2129e2de5f27a788c9f.tar.xz
ACPI: EC: Mark the ec_sys write_support param as module_param_hw()
Using write_support=1 with the ec_sys module changes the mode of the "io" debugfs file to 0600. This will cause any attempts to access it under a kernel in lockdown mode to return -EPERM, which makes the entire ec_sys module unusable. Use the special module_param_hw() macro for module parameters which may not be used while in lockdown mode, to avoid this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions