summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-08-13 02:59:19 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 17:30:32 +0200
commit4d98816be7f3e2ffe90093a8e41074ea348289df (patch)
tree5dc3d804cde5ef3221fa898de5631b535e0bcec6
parentV4L/DVB (4497): Reset USB part of DViCO Dual Digital during PCI driver attach (diff)
downloadlinux-4d98816be7f3e2ffe90093a8e41074ea348289df.tar.xz
linux-4d98816be7f3e2ffe90093a8e41074ea348289df.zip
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>
-rw-r--r--drivers/media/video/tuner-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index e053b8485e1c..4cfe71ba7304 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/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");
/* ---------------------------------------------------------------------- */