Re: [PATCH] lkdtm: include cacheflush.h

2014-03-22 Thread Kees Cook
On Fri, Mar 21, 2014 at 1:36 PM, Paul Gortmaker wrote: > On 14-03-21 03:33 PM, Kees Cook wrote: >> On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker >> wrote: >>> On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: Some architectures need cacheflush.h explicitly included (mips) for use of

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On 14-03-21 03:33 PM, Kees Cook wrote: > On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker > wrote: >> On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: >>> Some architectures need cacheflush.h explicitly included (mips) for >>> use of flush_icache_range(): >>> >>> config: make ARCH=mips allmo

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Kees Cook
On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker wrote: > On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: >> Some architectures need cacheflush.h explicitly included (mips) for >> use of flush_icache_range(): >> >> config: make ARCH=mips allmodconfig >> All error/warnings: >> >> ERR

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: > Some architectures need cacheflush.h explicitly included (mips) for > use of flush_icache_range(): > > config: make ARCH=mips allmodconfig > All error/warnings: > >> ERROR: "flush_icache_range" undefined! The linux-next builds still

[PATCH] lkdtm: include cacheflush.h

2014-02-14 Thread Kees Cook
Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: >> ERROR: "flush_icache_range" undefined! Reported-by: Fengguang Wu Signed-off-by: Kees Cook --- drivers/misc/lkdtm.c |1 + 1