Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1503270
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [kernel-hardening] [RFC] module: add 'module_ronx=off' boot cmdline parameter to disable ro/nx module mappings |
| Date | 2016-10-18 20:10 +0200 |
| Message-ID | <stGZP-5pH-13@gated-at.bofh.it> (permalink) |
| References | <stvL3-6kA-3@gated-at.bofh.it> <stCMy-2hJ-57@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Oct 18, 2016 at 6:34 AM, Mark Rutland <mark.rutland@arm.com> wrote: > Hi, > > On Tue, Oct 18, 2016 at 03:09:51PM +0900, AKASHI Takahiro wrote: >> As making CONFIG_DEBUG_RODATA mandatory is a good idea, so will be >> for CONFIG_SET_MODULE_RONX. > > I completely agree, given most distros ship a large number of drivers as > modules... > >> This patch adds a command line parameter, "module_ronx=," in order to >> make this configuration always on in the future, but still allowing for >> disabling read-only module mappings at boot time as "rodata=" does. >> >> I have, however, some concerns on this prototype: >> (1) should we use a separate parameter like "module_ronx=," or >> unify it with "rodata="? > > I think this should be merged with "rodata=". Agreed: it's really just a development artifact that these configs are separate to begin with, so I think we should continue to consolidate and merge it with "rodata=". -Kees -- Kees Cook Nexus Security
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC] module: add 'module_ronx=off' boot cmdline parameter to disable ro/nx module mappings AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-10-18 08:10 +0200
Re: [kernel-hardening] [RFC] module: add 'module_ronx=off' boot cmdline parameter to disable ro/nx module mappings Mark Rutland <mark.rutland@arm.com> - 2016-10-18 15:40 +0200
Re: [kernel-hardening] [RFC] module: add 'module_ronx=off' boot cmdline parameter to disable ro/nx module mappings Kees Cook <keescook@chromium.org> - 2016-10-18 20:10 +0200
csiph-web