Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bad28ec authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: frontier: fix up some sysfs attribute permissions



They should not be writable by any user

Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Cc: David Taht <d@teklibre.com>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 590b0b97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)
		t->value = temp;	\
		return count;	\
	}	\
	static DEVICE_ATTR(value, S_IWUGO | S_IRUGO, show_##value, set_##value);
	static DEVICE_ATTR(value, S_IRUSR | S_IRUGO, show_##value, set_##value);

show_int(enable);
show_int(offline);