]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
TTY: mxser, fix invalid module_parm permissions
authorJiri Slaby <jslaby@suse.cz>
Mon, 13 Aug 2012 08:18:09 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Aug 2012 23:57:58 +0000 (16:57 -0700)
commita342ca1c78627c3a8b2a8c4e6d5f6ab1b88e6169
tree7004ec8bafe586bf93c0cf72a8e72f02652f8cb0
parent27bf7c43a19c66bdc96ee3ee5a67e3bc2d601736
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: Jiri Slaby <jslaby@suse.cz>
Reported-by: Rusty Russell <rusty@ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c