kernel virtual memory access (from app) does not generatesegfault

Dave P. Martin Dave.Martin at arm.com
Wed Apr 21 07:17:41 EDT 2010


 

> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk] 
> Sent: 20 April 2010 23:41
> To: Jamie Lokier
> Cc: Ben Dooks; anfei; Dave P Martin; 
> linux-arm-kernel at lists.infradead.org
> Subject: Re: kernel virtual memory access (from app) does not 
> generatesegfault

[...]

> The difference between instruction faults and data faults is 
> that we always interpret instruction faults on pre-ARMv6 CPUs 
> as a 'translation fault' rather than a permission fault since 
> they can't tell us what the problem was.

Note that my observations were on an armv7 kernel.  Should we still hit the
same bit of code in this case, or have I misdiagnosed the problem?

Cheers
---Dave






More information about the linux-arm-kernel mailing list