Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240496
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [tip:x86/mm] x86/mm: Warn on W^X mappings |
| Date | 2015-10-06 16:50 +0200 |
| Message-ID | <qgBIZ-Em-1@gated-at.bofh.it> (permalink) |
| References | <qghhf-4Jy-7@gated-at.bofh.it> <qgxcl-2zE-1@gated-at.bofh.it> <qgBpF-hk-55@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Arjan van de Ven <arjan@linux.intel.com> wrote: > On 10/6/2015 2:54 AM, tip-bot for Stephen Smalley wrote: > >Commit-ID: e1a58320a38dfa72be48a0f1a3a92273663ba6db > >Gitweb: http://git.kernel.org/tip/e1a58320a38dfa72be48a0f1a3a92273663ba6db > >Author: Stephen Smalley <sds@tycho.nsa.gov> > >AuthorDate: Mon, 5 Oct 2015 12:55:20 -0400 > >Committer: Ingo Molnar <mingo@kernel.org> > >CommitDate: Tue, 6 Oct 2015 11:11:48 +0200 > > > >x86/mm: Warn on W^X mappings > > > >Warn on any residual W+X mappings after setting NX > >if DEBUG_WX is enabled. Introduce a separate > >X86_PTDUMP_CORE config that enables the code for > >dumping the page tables without enabling the debugfs > >interface, so that DEBUG_WX can be enabled without > >exposing the debugfs interface. Switch EFI_PGT_DUMP > >to using X86_PTDUMP_CORE so that it also does not require > >enabling the debugfs interface. > > I like it, so Acked-by: Arjan van de Ven <arjan@Linux.intel.com> > > I also have/had an old userland script to do similar checks but using the > debugfs interface... ... would that be useful to have somewhere more central? > > http://git.fenrus.org/tmp/i386-check-pagetables.pl Sure, I think it could be put into tools/testing/selftests/x86/. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] x86/mm: warn on W+x mappings Stephen Smalley <sds@tycho.nsa.gov> - 2015-10-05 19:00 +0200
Re: [PATCH v3] x86/mm: warn on W+x mappings Kees Cook <keescook@chromium.org> - 2015-10-05 21:40 +0200
[tip:x86/mm] x86/mm: Warn on W^X mappings tip-bot for Stephen Smalley <tipbot@zytor.com> - 2015-10-06 12:00 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Arjan van de Ven <arjan@linux.intel.com> - 2015-10-06 16:30 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Ingo Molnar <mingo@kernel.org> - 2015-10-06 16:50 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Borislav Petkov <bp@alien8.de> - 2015-10-08 17:00 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Arjan van de Ven <arjan@linux.intel.com> - 2015-10-08 17:10 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Borislav Petkov <bp@alien8.de> - 2015-10-08 17:40 +0200
Re: [tip:x86/mm] x86/mm: Warn on W^X mappings Ingo Molnar <mingo@kernel.org> - 2015-10-08 20:20 +0200
csiph-web