]> git.baikalelectronics.ru Git - kernel.git/commit
lockdown: Lock down module params that specify hardware parameters (eg. ioport)
authorDavid Howells <dhowells@redhat.com>
Tue, 20 Aug 2019 00:17:55 +0000 (17:17 -0700)
committerJames Morris <jmorris@namei.org>
Tue, 20 Aug 2019 04:54:16 +0000 (21:54 -0700)
commit002ea5af80482e3c89a7a45c551f61d015818b78
treef5f50d1c2f61821f69e41f1237cdafb446af8e5b
parent04a43674a1dc26283894996f7dab94b3d73a529c
lockdown: Lock down module params that specify hardware parameters (eg. ioport)

Provided an annotation for module parameters that specify hardware
parameters (such as io ports, iomem addresses, irqs, dma channels, fixed
dma buffers and other types).

Suggested-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Matthew Garrett <mjg59@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Jessica Yu <jeyu@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
kernel/params.c
security/lockdown/lockdown.c