summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-08-12 21:59:19 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-08-12 21:59:19 -0300
commit4bb99da8a70bb980c10c82bde8e798dda6e879d2 (patch)
tree4dac11bc70a1c890158445a0ba529e8a6d825efd /linux/drivers
parentfafba302fb6794e7656f0781a6cb3ed66bcdfd31 (diff)
downloadmediapointer-dvb-s2-4bb99da8a70bb980c10c82bde8e798dda6e879d2.tar.gz
mediapointer-dvb-s2-4bb99da8a70bb980c10c82bde8e798dda6e879d2.tar.bz2
Offset parameter permission were 0x666, instead of 0x664
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/tuner-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c
index 88ab4f63b..25a1034c1 100644
--- a/linux/drivers/media/video/tuner-simple.c
+++ b/linux/drivers/media/video/tuner-simple.c
@@ -18,7 +18,7 @@ static int offset = 0;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
MODULE_PARM(offset, "i");
#else
-module_param(offset, int, 0666);
+module_param(offset, int, 0664);
#endif
MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner");