Browse Source

V4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664

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>
Mauro Carvalho Chehab 19 years ago
parent
commit
4d98816be7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/tuner-simple.c

+ 1 - 1
drivers/media/video/tuner-simple.c

@@ -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");
 
 /* ---------------------------------------------------------------------- */