[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190918175303.GA20353@lst.de>
Date: Wed, 18 Sep 2019 19:53:03 +0200
From: Christoph Hellwig <hch@....de>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: Christoph Hellwig <hch@....de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] x86/mm: Remove set_pages_x() and set_pages_nx()
On Wed, Sep 18, 2019 at 12:49:56PM -0500, Larry Finger wrote:
> Is there approved way for pages to be set to be executable by an external
> module that would not be a security issue?
There is approved way for modules to set kernel code executable,
because well they shouldn't. And as stated many times we do not
add interfaces for things not in mainline to start with. So as a first
step please submit your module for inclusion and then we can discuss
if it actually happens to be a valid use case or not, and how to best
accomodate it.
Powered by blists - more mailing lists