Re: [PATCH 4/5] powerpc/lib: Add LKDTM accessor for patching addr

2020-06-08 Thread Christopher M. Riedl
On Wed Jun 3, 2020 at 9:14 AM, Christophe Leroy wrote: > > > > > Le 03/06/2020 à 07:19, Christopher M. Riedl a écrit : > > When live patching a STRICT_RWX kernel, a mapping is installed at a > > "patching address" with temporary write permissions. Provide a > > LKDTM-only accessor function for

Re: [PATCH 4/5] powerpc/lib: Add LKDTM accessor for patching addr

2020-06-03 Thread Christophe Leroy
Le 03/06/2020 à 07:19, Christopher M. Riedl a écrit : When live patching a STRICT_RWX kernel, a mapping is installed at a "patching address" with temporary write permissions. Provide a LKDTM-only accessor function for this address in preparation for a LKDTM test which attempts to "hijack"

[PATCH 4/5] powerpc/lib: Add LKDTM accessor for patching addr

2020-06-02 Thread Christopher M. Riedl
When live patching a STRICT_RWX kernel, a mapping is installed at a "patching address" with temporary write permissions. Provide a LKDTM-only accessor function for this address in preparation for a LKDTM test which attempts to "hijack" this mapping by writing to it from another CPU.