]> git.ipfire.org Git - thirdparty/linux.git/commit - kernel/params.c
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)
commit20657f66ef52e5005369e4ef539d4cbf01eab10d
treef5f50d1c2f61821f69e41f1237cdafb446af8e5b
parent794edf30ee6cd088d5f4079b1d4a4cfe5371203e
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