[PATCH] Publish rcutorture module parameters via sysfs, read-only
authorJosh Triplett <josh@freedesktop.org>
Tue, 6 Mar 2007 09:42:13 +0000 (01:42 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 6 Mar 2007 17:30:25 +0000 (09:30 -0800)
commitd6ad67112a78623025632865d716b2f7645874c5
treecd9f0ad9a52cee62ff9a6369a27784fa5b9717c2
parent5efee174f8a101cafb1607d2b629bed353701457
[PATCH] Publish rcutorture module parameters via sysfs, read-only

rcutorture's module parameters currently use permissions of 0, so they
don't show up in /sys/module/rcutorture/parameters.  Change the permissions
on all module parameters to world-readable (0444).

rcutorture does all of its initialization and thread startup when loaded
and relies on the parameters not changing during execution, so they should
not permit writing.  However, reading seems fine.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rcutorture.c