[PATCH] MPBL0010 driver sysfs permissions wide open
authorMark Bellon <mbellon@mvista.com>
Tue, 11 Apr 2006 05:54:20 +0000 (22:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:43 +0000 (06:18 -0700)
commit31cc48bfeef7a021d6e29f3454a4505edcfd6daa
treed2059a46e39ce4582fbf93483892ffef4ff6dd6d
parent14a6283eb5c1c70e6deee985c85dcce884150737
[PATCH] MPBL0010 driver sysfs permissions wide open

The MPBL0010 Telco clock driver (drivers/char/tlclk.c) uses 0222 (anyone
can write) permissions on its writable sysfs entries.  Alter the
permissions to 0220 (owner and group can write).

The use case for this driver is to configure the fail over behavior of the
clock hardware.  That should be done by the more privileged users.

Signed-off-by: Mark Bellon <mbellon@mvista.com>
Acked-by: "Gross, Mark" <mark.gross@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tlclk.c