[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63177c72b94a653707d6b984ca789ecf8ebf0a95.camel@russell.cc>
Date: Mon, 19 Nov 2018 13:44:08 +1100
From: Russell Currey <ruscur@...sell.cc>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [RFC PATCH v1 3/6] powerpc: Add skeleton for Kernel Userspace
Execution Prevention
On Wed, 2018-11-07 at 16:56 +0000, Christophe Leroy wrote:
> This patch adds a skeleton for Kernel Userspace Execution Prevention.
>
> Then subarches implementing it have to define CONFIG_PPC_HAVE_KUEP
> and provide setup_kuep() function.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
An open question (with nothing to do specifically with this patch):
For what reason would you ever disable execution prevention? Clearly
there must be something since "nosmep" is a thing, but I don't know why
we'd ever do it.
- Russell
Powered by blists - more mailing lists