Re: [patch] vsyscall feature

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Mar 08 2000 - 14:59:46 EST


Artur Skawina wrote:
> > It's probably possible to lie to the process for gettimeofday and signal
> > operations though -- have the kernel unmap the page for those processes,
>
> [for _all_ processes, as this is supposed to be a global mapping]

You can use a global mapping but have an explicit flush_tlb_page
when switching to one of these special tasks.

> > and have a ptrace SEGV handler which provides results as if the page
> > were still mapped.
>
> hmm, might work. since it would be detectable anyway (eg timing)
> the question is would it be worth the extra complexity...

Well, if it's possible in user space, we leave it to the author of that
tricky sandbox program to solve the details :-)

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:14 EST