Message ID | 3a6a92ecedc54e1d0fc941398e63d504c2cd5611.1589178399.git.zong.li@sifive.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Bugs fix up for DEBUG_WX | expand |
On Mon, May 11, 2020 at 02:28:19PM +0800, Zong Li wrote: > UXN is the name of arm64 page-table descriptors. > > Signed-off-by: Zong Li <zong.li@sifive.com> > CC: Will Deacon <will@kernel.org> > --- > mm/Kconfig.debug | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug > index e19f94c6df90..b8cbe035247f 100644 > --- a/mm/Kconfig.debug > +++ b/mm/Kconfig.debug > @@ -130,8 +130,6 @@ config DEBUG_WX > > This is useful for discovering cases where the kernel is leaving W+X > mappings after applying NX, as such mappings are a security risk. > - This check also includes UXN, which should be set on all kernel > - mappings. > > Look for a message in dmesg output like this: Acked-by: Will Deacon <will@kernel.org> The commit message needs help, but I'm assuming Andrew will just fold this into the other patch so it doesn't matter. Will
diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index e19f94c6df90..b8cbe035247f 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -130,8 +130,6 @@ config DEBUG_WX This is useful for discovering cases where the kernel is leaving W+X mappings after applying NX, as such mappings are a security risk. - This check also includes UXN, which should be set on all kernel - mappings. Look for a message in dmesg output like this:
UXN is the name of arm64 page-table descriptors. Signed-off-by: Zong Li <zong.li@sifive.com> CC: Will Deacon <will@kernel.org> --- mm/Kconfig.debug | 2 -- 1 file changed, 2 deletions(-)