]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] MPBL0010 driver sysfs permissions wide open
authorMark Bellon <mbellon@mvista.com>
Wed, 5 Apr 2006 08:06:06 +0000 (01:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Apr 2006 20:16:04 +0000 (13:16 -0700)
commit27de783e1874115054e079998b3a7f5b06a67b1f
treeae691def9f804c1f0ccf95546f92f5fc03231e27
parentbb532cb98cd10b4bbb14c0ce253fbaed16a761c4
[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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tlclk.c