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

2017-09-11 Thread Christoph Hellwig
On Fri, Sep 08, 2017 at 08:44:22AM -0700, Kees Cook wrote: > On Fri, Sep 8, 2017 at 12:55 AM, Christoph Hellwig 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

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

2017-09-08 Thread Kees Cook
On Fri, Sep 8, 2017 at 12:55 AM, Christoph Hellwig 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 sym

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

2017-09-08 Thread Christoph Hellwig
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