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-Tag: v2.6.19-rc1~643^2~77 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4d98816be7f3e2ffe90093a8e41074ea348289df;p=linux-2.6-omap-h63xx.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 e053b8485e1..4cfe71ba730 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"); /* ---------------------------------------------------------------------- */