]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitca90a4ea9b8447934bb1dcfff9055fc76db82d61
treed2059a46e39ce4582fbf93483892ffef4ff6dd6d
parent193201d2363faffe16f8c420b442c50b7cb628f9
[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