[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Armv5 target
From: |
Lennert Buytenhek |
Subject: |
Re: [Qemu-devel] Armv5 target |
Date: |
Wed, 2 Feb 2005 13:01:09 +0100 |
User-agent: |
Mutt/1.4.1i |
On Wed, Feb 02, 2005 at 01:26:37AM +0000, Paul Brook wrote:
> > > + /* XXX: locking issue */
> > > + if (is_write && page_unprotect(address, pc, puc)) {
> > > + return 1;
> > > + }
> > > /* XXX: do more */
> > > return 0;
> > > }
> >
> > Sort of. Self-modifying code (e.g. stack trampolines) are still broken, and
> > the patch above should work.
> >
> > However I just tested it and it doesn't seem to work any more. It seems
> > that the SEGV handler is being passed an address of 0, rather than the
> > actual faulting location.
> >
> > This may be a host kernel/libc bug.
>
> I just tried on a few different machines, and this is a host kernel bug
> specific to one particular kernel (custom 2.6.9).
Do you have some example code that demonstrates this?
thanks,
Lennert