From 4bb99da8a70bb980c10c82bde8e798dda6e879d2 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 12 Aug 2006 21:59:19 -0300 Subject: Offset parameter permission were 0x666, instead of 0x664 From: Mauro Carvalho Chehab 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 --- linux/drivers/media/video/tuner-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index 88ab4f63b..25a1034c1 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -18,7 +18,7 @@ static int offset = 0; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) MODULE_PARM(offset, "i"); #else -module_param(offset, int, 0666); +module_param(offset, int, 0664); #endif MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner"); -- cgit v1.2.3