vsyscalls [was Re: X15 alpha release: as fast as TUX but in user space (fwd)]

Pavel Machek (pavel@suse.cz)
Mon, 7 May 2001 19:03:22 +0000


Hi!

> > > PS: Hmm, how do you do timewarp for just one userland appliation with
> > > this installed?
> >
> > 1. What on earth for?
>
> Y2K testing was one previous example.
>
> > 2. How do you do it today, and why wouldn't that work?
>
> LD_PRELOAD and providing its still using a lib call it would. I dont see the
> original posters problem

LD_PRELOAD is not reliable: application may do syscall itself and find
out true time. But ptrace works currently and *is* reliable.

Problem is that vsyscalls ay take ability to use ptrace to fool apps away.
Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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