Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730191

Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol
Date 2017-09-11 09:40 +0200
Message-ID <uoru2-8bR-15@gated-at.bofh.it> (permalink)
References <un8Wu-3e6-13@gated-at.bofh.it> <un8Wu-3e6-29@gated-at.bofh.it> <unmmJ-3PQ-7@gated-at.bofh.it> <untHA-xc-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 08, 2017 at 08:44:22AM -0700, Kees Cook wrote:
> On Fri, Sep 8, 2017 at 12:55 AM, Christoph Hellwig <hch@infradead.org> wrote:
> > On Thu, Sep 07, 2017 at 11:36:08AM -0600, Tycho Andersen wrote:
> >> We need someting like this for testing XPFO. Since it's architecture
> >> specific, putting it in the test code is slightly awkward, so let's make it
> >> an arch-specific symbol and export it for use in LKDTM.
> >
> > We really should not add an export for this.
> >
> > I think you'll want to just open code it in your test module.
> 
> Isn't that going to be fragile? Why not an export?

It is a little fragile, but it is functionality not needed at all by
the kernel, so we should not add it to the kernel image and/or export
it.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 10/11] mm: add a user_virt_to_phys symbol Tycho Andersen <tycho@docker.com> - 2017-09-07 19:40 +0200
  Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol Christoph Hellwig <hch@infradead.org> - 2017-09-08 10:00 +0200
    Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol Kees Cook <keescook@chromium.org> - 2017-09-08 17:50 +0200
      Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol Christoph Hellwig <hch@infradead.org> - 2017-09-11 09:40 +0200
  Re: [kernel-hardening] [PATCH v6 10/11] mm: add a user_virt_to_phys  symbol Mark Rutland <mark.rutland@arm.com> - 2017-09-14 20:40 +0200
    Re: [kernel-hardening] [PATCH v6 10/11] mm: add a user_virt_to_phys  symbol Tycho Andersen <tycho@docker.com> - 2017-09-18 23:00 +0200

csiph-web