]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 13 Aug 2006 00:59:19 +0000 (21:59 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:32 +0000 (12:30 -0300)
Although not dangerous, it may allow a normal user with access to a machine
to untune a TV channel.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-simple.c

index e053b8485e1ca6e948ce1678e8308dc09b6b6b0c..4cfe71ba7304cd237bada76a5a138ab2d3c4a116 100644 (file)
@@ -10,7 +10,7 @@
 #include <media/v4l2-common.h>
 
 static int offset = 0;
-module_param(offset, int, 0666);
+module_param(offset, int, 0664);
 MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner");
 
 /* ---------------------------------------------------------------------- */