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


Groups > linux.kernel > #1729043

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

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 10/11] mm: add a user_virt_to_phys symbol
Date 2017-09-08 17:50 +0200
Message-ID <untHA-xc-21@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>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

-Kees

-- 
Kees Cook
Pixel Security

Back to linux.kernel | Previous | NextPrevious 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

csiph-web