From: Mauro Carvalho Chehab Date: Sun, 13 Aug 2006 00:59:19 +0000 (-0300) Subject: V4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4d98816be7f3e2ffe90093a8e41074ea348289df;p=deliverable%2Flinux.git 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 --- 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 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"); /* ---------------------------------------------------------------------- */