summaryrefslogtreecommitdiffstats
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-09-26 12:30:32 -0300
commit4d98816be7f3e2ffe90093a8e41074ea348289df (patch)
tree5dc3d804cde5ef3221fa898de5631b535e0bcec6
parentd536e9c41f78c9959c585181f8a1e7fe8b157197 (diff)
downloadop-kernel-dev-4d98816be7f3e2ffe90093a8e41074ea348289df.zip
op-kernel-dev-4d98816be7f3e2ffe90093a8e41074ea348289df.tar.gz
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 e053b84..4cfe71b 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");
/* ---------------------------------------------------------------------- */
OpenPOWER on IntegriCloud