platform: x86: tc1100-wmi: world-writable sysfs wireless and jogdial files

Don't allow everybody to change WMI settings.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>

authored by Vasiliy Kulikov and committed by Matthew Garrett 8a6a142c 98401ae4

+1 -1
+1 -1
drivers/platform/x86/tc1100-wmi.c
··· 162 162 return -EINVAL; \ 163 163 return count; \ 164 164 } \ 165 - static DEVICE_ATTR(value, S_IWUGO | S_IRUGO | S_IWUSR, \ 165 + static DEVICE_ATTR(value, S_IRUGO | S_IWUSR, \ 166 166 show_bool_##value, set_bool_##value); 167 167 168 168 show_set_bool(wireless, TC1100_INSTANCE_WIRELESS);