Commit 4d98816b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d536e9c4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <media/v4l2-common.h> #include <media/v4l2-common.h>
static int offset = 0; 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"); MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner");
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment