Re: copy to suer space

Luís Henriques
2001-11-21T10:56:21Z

On Tuesday 20 November 2001 07:31 pm, Tyler BIRD wrote:
> What is the other "specifc event that occurs" you could write a spinlock
> and the other thread that causes the event could release that lock
> Of course interrups should be enabled when some thing like this should
> happen Is this other event a interrupt?

The specific event is a breakpoint interrupt: when a specific memory address
is used (for opcode fetch/read/write) in the addressing space of a process,
then an exception is raised and a handler for this exception will be called -
this is my module.

>
>
> There are various ways I'll have to look up when I get home.
> you could alter the cs if you change the vma properties especially the
> permissions properties and you can do this I just don't have the details
> now.
>
> the cs is protected by default
> Tyler
>

--
Luís Henriques