@@ -87,11 +87,11 @@ MODULE_PARM_DESC(nopnp, "Do not use PNP to detect controller settings");
#define DEBUG
#ifdef DEBUG
static bool i8042_debug;
-module_param_named(debug, i8042_debug, bool, 0600);
+module_param_named(debug, i8042_debug, bool, S_IRUSR | S_IWUSR);
MODULE_PARM_DESC(debug, "Turn i8042 debugging mode on and off");
static bool i8042_unmask_kbd_data;
-module_param_named(unmask_kbd_data, i8042_unmask_kbd_data, bool, 0600);
+module_param_named(unmask_kbd_data, i8042_unmask_kbd_data, bool, S_IRUSR | S_IWUSR);
MODULE_PARM_DESC(unmask_kbd_data, "Unconditional enable (may reveal sensitive data) of normally sanitize-filtered kbd data traffic debug log [pre-condition: i8042.debug=1 enabled]");
#endif