Skip to content

Commit

Permalink
platform: x86: tc1100-wmi: world-writable sysfs wireless and jogdial …
Browse files Browse the repository at this point in the history
…files

Don't allow everybody to change WMI settings.

Signed-off-by: Vasiliy Kulikov <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
  • Loading branch information
segoon authored and Matthew Garrett committed Feb 21, 2011
1 parent 98401ae commit 8a6a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/tc1100-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ set_bool_##value(struct device *dev, struct device_attribute *attr, \
return -EINVAL; \
return count; \
} \
static DEVICE_ATTR(value, S_IWUGO | S_IRUGO | S_IWUSR, \
static DEVICE_ATTR(value, S_IRUGO | S_IWUSR, \
show_bool_##value, set_bool_##value);

show_set_bool(wireless, TC1100_INSTANCE_WIRELESS);
Expand Down

0 comments on commit 8a6a142

Please sign in to comment.