Re: [PATCH] mips: export icache_flush_range

2014-04-09 Thread Kees Cook
On Mon, Apr 7, 2014 at 6:58 AM, Paul Gortmaker wrote: > On 14-03-22 03:05 PM, Kees Cook wrote: >> On Sat, Mar 22, 2014 at 9:47 AM, Kees Cook wrote: >>> The lkdtm module performs tests against executable memory ranges, so >>> it needs to flush the icache for proper behaviors. Other architectures >

Re: [PATCH] mips: export icache_flush_range

2014-04-07 Thread Paul Gortmaker
On 14-03-22 03:05 PM, Kees Cook wrote: > On Sat, Mar 22, 2014 at 9:47 AM, Kees Cook wrote: >> The lkdtm module performs tests against executable memory ranges, so >> it needs to flush the icache for proper behaviors. Other architectures >> already export this, so do the same for MIPS. >> >> Signed

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Sergei Shtylyov
On 03/23/2014 12:05 AM, Kees Cook wrote: The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook --- This is currently untested! I'm buil

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Kees Cook
On Sat, Mar 22, 2014 at 3:54 PM, Sergei Shtylyov wrote: > On 03/23/2014 12:48 AM, Sergei Shtylyov wrote: > The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Sergei Shtylyov
On 03/23/2014 12:48 AM, Sergei Shtylyov wrote: The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook --- This is currently untested! I'

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Sergei Shtylyov
On 03/23/2014 12:45 AM, Sergei Shtylyov wrote: The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook --- This is currently untested! I'

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Sergei Shtylyov
Hello. On 03/22/2014 06:47 PM, Kees Cook wrote: The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook --- This is currently untested!

Re: [PATCH] mips: export icache_flush_range

2014-03-22 Thread Kees Cook
On Sat, Mar 22, 2014 at 9:47 AM, Kees Cook wrote: > The lkdtm module performs tests against executable memory ranges, so > it needs to flush the icache for proper behaviors. Other architectures > already export this, so do the same for MIPS. > > Signed-off-by: Kees Cook > --- > This is currently

[PATCH] mips: export icache_flush_range

2014-03-22 Thread Kees Cook
The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS. Signed-off-by: Kees Cook --- This is currently untested! I'm building a MIPS cross-compiler now... If someone c