diff options
author | Stephen Chandler Paul <cpaul@redhat.com> | 2015-07-15 10:20:17 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-16 10:30:55 -0700 |
commit | e1443d2849b146be4ed8d4ef89ae7e215aafaa5b (patch) | |
tree | 874ddd2d1c23d9bf46d2d751fe7c5764a3d18f4e /include/linux/serio.h | |
parent | 339d6b88e872f8369495a7224916a4d1d8376ca3 (diff) | |
download | lwn-e1443d2849b146be4ed8d4ef89ae7e215aafaa5b.tar.gz lwn-e1443d2849b146be4ed8d4ef89ae7e215aafaa5b.zip |
Input: i8042 - add unmask_kbd_data option
A big problem with the current i8042 debugging option is that it outputs
data going to and from the keyboard by default. As a result, many dmesg
logs uploaded by users will unintentionally contain sensitive information
such as their password, as such it's probably a good idea not to output
data coming from the keyboard unless specifically enabled by the user.
Signed-off-by: Stephen Chandler Paul <cpaul@redhat.com>
Reviewed-by: Andreas Mohr <andim2@users.sf.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/serio.h')
-rw-r--r-- | include/linux/serio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h index 9f779c7a2da4..df4ab5de1586 100644 --- a/include/linux/serio.h +++ b/include/linux/serio.h @@ -18,6 +18,8 @@ #include <linux/mod_devicetable.h> #include <uapi/linux/serio.h> +extern struct bus_type serio_bus; + struct serio { void *port_data; |