Re: kmemcheck on ARM

2011-05-06 Thread Kees Cook
Hi, On Thu, May 05, 2011 at 06:35:53PM -0300, Christian Robottom Reis wrote: > Last quasi-random question of the night: would reviving the kmemcheck > ARM port (that IIRC was hacked up a while back) be something useful, or > is it something that is too niche to be worth it? At the board's > reques

Re: kmemcheck on ARM

2011-05-05 Thread Nicolas Pitre
6221.html This won't work. The fundamental part for this feature is the kmemcheck_hide_pages() function which has about a dozen lines. But it assumes that kernel memory is mapped with 4KB page granularity which on ARM it is not. That's the prerequisite part I was talking about.

Re: kmemcheck on ARM

2011-05-05 Thread Christian Robottom Reis
on ARM either (even though this would be an interesting > challenge). Hmmm. I thought I had seen one. Mmm. What about http://www.spinics.net/lists/arm-kernel/msg56221.html > The prerequisite for kmemcheck on ARM would be to have the kernel direct > mapping of memory use second level

Re: kmemcheck on ARM

2011-05-05 Thread Nicolas Pitre
as looking across platform gaps and this feature was one of > the things that I found. I can't find any ARM port for this. And this is not exactly trivial to make this work on ARM either (even though this would be an interesting challenge). The prerequisite for kmemcheck on ARM would be

kmemcheck on ARM

2011-05-05 Thread Christian Robottom Reis
Last quasi-random question of the night: would reviving the kmemcheck ARM port (that IIRC was hacked up a while back) be something useful, or is it something that is too niche to be worth it? At the board's request, I was looking across platform gaps and this feature was one of the things that I fo