diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-12 20:59:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 11:30:32 -0400 |
commit | 4d98816be7f3e2ffe90093a8e41074ea348289df (patch) | |
tree | 5dc3d804cde5ef3221fa898de5631b535e0bcec6 | |
parent | d536e9c41f78c9959c585181f8a1e7fe8b157197 (diff) |
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 <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tuner-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
10 | #include <media/v4l2-common.h> | 10 | #include <media/v4l2-common.h> |
11 | 11 | ||
12 | static int offset = 0; | 12 | static int offset = 0; |
13 | module_param(offset, int, 0666); | 13 | module_param(offset, int, 0664); |
14 | MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner"); | 14 | MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner"); |
15 | 15 | ||
16 | /* ---------------------------------------------------------------------- */ | 16 | /* ---------------------------------------------------------------------- */ |