linux/drivers/isdn/hisax
David Howells b9351f7e51 Annotate hardware config module parameters in drivers/isdn/
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/isdn/.

Suggested-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Karsten Keil <isdn@linux-pingi.de>
cc: netdev@vger.kernel.org
2017-04-20 12:02:32 +01:00
..
amd7930_fn.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
amd7930_fn.h
arcofi.c
arcofi.h
asuscom.c
avm_a1.c
avm_a1p.c
avm_pci.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
avma1_cs.c
bkm_a4t.c
bkm_a8.c
bkm_ax.h
callc.c
config.c Annotate hardware config module parameters in drivers/isdn/ 2017-04-20 12:02:32 +01:00
diva.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
elsa_cs.c
elsa_ser.c isdn: hisax/elsa: fix sleep_on race in elsa FSM 2014-02-26 16:06:13 -05:00
elsa.c isdn: hisax/elsa: fix sleep_on race in elsa FSM 2014-02-26 16:06:13 -05:00
enternow_pci.c
fsm.c
fsm.h
gazel.c
hfc4s8s_l1.c isdn: hisax: set error code on failure 2016-12-05 15:03:42 -05:00
hfc4s8s_l1.h
hfc_2bds0.c
hfc_2bds0.h
hfc_2bs0.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
hfc_2bs0.h
hfc_pci.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
hfc_pci.h
hfc_sx.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
hfc_sx.h
hfc_usb.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
hfc_usb.h
hfcscard.c
hisax_cfg.h
hisax_debug.h
hisax_fcpcipnp.c
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c
hisax_isac.h
hisax.h isdn: Constify some function parameters 2016-12-17 21:46:35 -05:00
hscx_irq.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
hscx.c
hscx.h
icc.c hisax/icc: add missing semicolon after label 2014-04-22 21:22:47 -04:00
icc.h
ipac.h
ipacx.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
ipacx.h
isac.c Drivers: isdn: hisax: isac.c: Fix assignment and check into one expression. 2016-03-27 22:38:12 -04:00
isac.h
isar.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
isar.h
isdnl1.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
isdnl1.h
isdnl2.c ISDN: fix OOM condition for sending queued I-Frames 2015-10-22 07:23:19 -07:00
isdnl2.h
isdnl3.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
isdnl3.h
isurf.c
ix1_micro.c
jade_irq.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
jade.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
jade.h
Kconfig isdn: disable HiSax NetJet driver on microblaze arch 2015-06-21 09:53:01 -07:00
l3_1tr6.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
l3_1tr6.h
l3dss1.c
l3dss1.h
l3ni1.c isdn: hisax: l3ni1.c: Fix for possible null pointer dereference 2014-07-08 16:06:21 -07:00
l3ni1.h
lmgr.c
Makefile
mic.c
netjet.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
netjet.h
niccy.c
nj_s.c
nj_u.c
q931.c treewide: Fix printk() message errors 2016-12-14 10:54:27 +01:00
s0box.c
saphir.c
sedlbauer_cs.c
sedlbauer.c
sportster.c
st5481_b.c scripts/spelling.txt: add "disble(d)" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
st5481_d.c
st5481_init.c
st5481_usb.c isdn/hisax: Convert use of __constant_cpu_to_le16 to cpu_to_le16 2015-06-07 19:42:03 -07:00
st5481.h
tei.c
teleint.c
teles0.c
teles3.c
teles_cs.c
telespci.c isdn: Drop big endian cpp checks from telespci and hfc_pci drivers 2014-01-06 15:50:51 -05:00
w6692.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
w6692.h