linux/drivers/input/mouse
David Howells f6b12d0434 Annotate hardware config module parameters in drivers/input/
When the kernel is running in secure boot mode, we lock down the kernel to
prevent userspace from modifying the running kernel image.  Whilst this
includes prohibiting access to things like /dev/mem, it must also prevent
access by means of configuring driver modules in such a way as to cause a
device to access or modify the kernel image.

To this end, annotate module_param* statements that refer to hardware
configuration and indicate for future reference what type of parameter they
specify.  The parameter parser in the core sees this information and can
skip such parameters with an error message if the kernel is locked down.
The module initialisation then runs as normal, but just sees whatever the
default values for those parameters is.

Note that we do still need to do the module initialisation because some
drivers have viable defaults set in case parameters aren't specified and
some drivers support automatic configuration (e.g. PNP or PCI) in addition
to manually coded parameters.

This patch annotates drivers in drivers/input/.

Suggested-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
cc: linux-input@vger.kernel.org
2017-04-20 12:02:32 +01:00
..
alps.c Input: ALPS - fix trackstick button handling on V8 devices 2017-03-17 14:25:04 -07:00
alps.h Input: ALPS - fix V8+ protocol handling (73 03 28) 2017-03-17 14:25:03 -07:00
amimouse.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
appletouch.c
atarimouse.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
bcm5974.c Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
byd.c Merge branch 'next' into for-linus 2016-05-16 17:25:08 -07:00
byd.h Input: byd - add BYD PS/2 touchpad driver 2016-01-27 17:27:25 -08:00
cyapa_gen3.c Input: cyapa - use msleep() for long delay 2017-01-15 15:40:23 -08:00
cyapa_gen5.c Input: cyapa - fix for losing events during device power transitions 2016-03-04 11:32:13 -08:00
cyapa_gen6.c Input: cyapa - fix for losing events during device power transitions 2016-03-04 11:32:13 -08:00
cyapa.c Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
cyapa.h Input: cyapa - fix for losing events during device power transitions 2016-03-04 11:32:13 -08:00
cypress_ps2.c Input: mouse - drop unnecessary calls to input_set_drvdata 2017-01-22 17:22:28 -08:00
cypress_ps2.h Input: psmouse - use IS_ENABLED instead of homegrown code 2015-02-15 16:08:35 -08:00
elan_i2c_core.c Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw 2017-03-10 14:37:19 -08:00
elan_i2c_i2c.c Input: elan_i2c - expand maximum product_id form 0xFF to 0xFFFF 2015-09-21 09:32:40 -07:00
elan_i2c_smbus.c Input: elan_i2c - fix return tests of i2c_smbus_read_block_data() 2016-10-03 16:41:00 -07:00
elan_i2c.h Input: elan_i2c - expand maximum product_id form 0xFF to 0xFFFF 2015-09-21 09:32:40 -07:00
elantech.c Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
elantech.h Input: elantech - add special check for fw_version 0x470f01 touchpad 2015-08-07 14:54:15 -07:00
focaltech.c Input: psmouse - cleanup Focaltech code 2016-10-24 17:19:25 -07:00
focaltech.h Input: psmouse - rearrange Focaltech init code 2015-12-17 15:23:54 -08:00
gpio_mouse.c input: mouse: drop owner assignment from platform_drivers 2014-10-20 16:20:40 +02:00
hgpk.c Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
hgpk.h
inport.c Annotate hardware config module parameters in drivers/input/ 2017-04-20 12:02:32 +01:00
Kconfig Input: byd - add BYD PS/2 touchpad driver 2016-01-27 17:27:25 -08:00
lifebook.c Input: psmouse - use same format for secondary devices as for primary 2016-06-18 17:39:23 -07:00
lifebook.h Input: lifebook - use "static inline" instead of "inline" in lifebook.h 2014-11-09 22:59:25 -08:00
logibm.c Annotate hardware config module parameters in drivers/input/ 2017-04-20 12:02:32 +01:00
logips2pp.c Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
logips2pp.h Input: psmouse - rename ps2pp_init() to ps2pp_detect() 2015-12-17 15:24:37 -08:00
Makefile Input: byd - add BYD PS/2 touchpad driver 2016-01-27 17:27:25 -08:00
maplemouse.c Input: mouse - drop unnecessary calls to input_set_drvdata 2017-01-22 17:22:28 -08:00
navpoint.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
pc110pad.c
psmouse-base.c Input: psmouse - add a custom serio protocol to send extra information 2017-02-09 11:43:15 -08:00
psmouse.h Input: psmouse - add a custom serio protocol to send extra information 2017-02-09 11:43:15 -08:00
pxa930_trkball.c
rpcmouse.c
sentelic.c Input: sentelic - silence some underflow warnings 2015-08-21 09:32:59 -07:00
sentelic.h Input: sentelic - use "static inline" instead of "inline" 2015-05-22 10:59:54 -07:00
sermouse.c
synaptics_i2c.c Input: synaptics_i2c - change msleep to usleep_range for small msecs 2016-12-18 15:55:57 -08:00
synaptics_usb.c Input: add missing POINTER / DIRECT properties to a bunch of drivers 2014-09-08 14:58:12 -07:00
synaptics.c Input: synaptics - use SERIO_OOB_DATA to handle trackstick buttons 2017-02-09 13:01:32 -08:00
synaptics.h Input: synaptics - use SERIO_OOB_DATA to handle trackstick buttons 2017-02-09 13:01:32 -08:00
touchkit_ps2.c
touchkit_ps2.h
trackpoint.c Linux 4.10-rc5 2017-01-24 12:37:43 -08:00
trackpoint.h Input: psmouse - expose drift duration for IBM trackpoints 2014-12-17 15:46:51 -08:00
vmmouse.c Input: vmmouse - remove port reservation 2016-06-23 17:41:18 -07:00
vmmouse.h Input: add vmmouse driver 2015-04-14 14:29:03 -07:00
vsxxxaa.c Input: vsxxxaa - fix code dropping bytes from queue 2014-10-28 10:33:48 -07:00