]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
clocksource: Fix permissions for available_clocksource
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 2 May 2008 10:49:40 +0000 (12:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 3 May 2008 16:11:48 +0000 (18:11 +0200)
commit4359a023a8c3b247b348c310bf510b23f3c1ab64
treebe6479eada293e91c4a17b1d6b942a4a7846a86d
parent4346f65426cbceb64794b468e4af6f5632d58c5e
clocksource: Fix permissions for available_clocksource

File permissions for
/sys/devices/system/clocksource/clocksource0/available_clocksource
are 600 which allows write access. But this is in fact a read only
file. So change permissions to 400.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/clocksource.c