Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a342ca1c authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
Browse files

TTY: mxser, fix invalid module_parm permissions



444 means 0674 and we do not definitely want that. Use S_IRUGO which
is much more safer.

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Reported-by: default avatarRusty Russell <rusty@ozlabs.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27bf7c43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2338,7 +2338,7 @@ static struct tty_port_operations mxser_port_ops = {
 */

static bool allow_overlapping_vector;
module_param(allow_overlapping_vector, bool, 444);
module_param(allow_overlapping_vector, bool, S_IRUGO);
MODULE_PARM_DESC(allow_overlapping_vector, "whether we allow ISA cards to be configured such that vector overlabs IO ports (default=no)");

static bool mxser_overlapping_vector(struct mxser_board *brd)