mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
Staging: udlfb: fix up some sysfs attribute permissions
commitcc9ca9dfddandcc9ca9dfddupstream merged together. They should not be writable by any user Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f6b88b337b
commit
96b86dfa90
|
|
@ -1143,7 +1143,7 @@ static struct device_attribute fb_device_attrs[] = {
|
|||
__ATTR_RO(metrics_bytes_sent),
|
||||
__ATTR_RO(metrics_cpu_kcycles_used),
|
||||
__ATTR_RO(metrics_misc),
|
||||
__ATTR(metrics_reset, S_IWUGO, NULL, metrics_reset_store),
|
||||
__ATTR(metrics_reset, S_IWUSR, NULL, metrics_reset_store),
|
||||
__ATTR_RW(use_defio),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user