]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Fix drm 'debug' sysfs permissions
authorDave Jones <davej@redhat.com>
Mon, 3 Oct 2005 19:02:20 +0000 (15:02 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 5 Oct 2005 14:38:28 +0000 (07:38 -0700)
Just enables some extra printk's, but still..  Only the sysadmin should
be able to do that.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/drm/drm_stub.c

index 95a976c96eb8303c9df9cc249c8c3d9e99cc999c..70458cb061c614e9f830cbd2d958d390a43c791a 100644 (file)
@@ -47,7 +47,7 @@ MODULE_PARM_DESC(cards_limit, "Maximum number of graphics cards");
 MODULE_PARM_DESC(debug, "Enable debug output");
 
 module_param_named(cards_limit, drm_cards_limit, int, 0444);
-module_param_named(debug, drm_debug, int, 0666);
+module_param_named(debug, drm_debug, int, 0600);
 
 drm_head_t **drm_heads;
 struct drm_sysfs_class *drm_class;