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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");

/* ---------------------------------------------------------------------- */