Re: Time Travel v1.0.

David Luyer (luyer@ucs.uwa.edu.au)
Fri, 12 Jun 1998 15:08:10 +0800


> On 11 Jun 1998, Eric W. Biederman wrote:
> > Though a wrapper script that loads does LD_PRELOAD only for the
> > desired program, and execs it is probably better.
> not necessarily, if you do not want the children that exec() something
> else to inherit this behaviour.

Still solvable in userspace except for static binaries. There's no reason
the library which you LD_PRELOAD can't delete/invalidate the LD_PRELOAD
variable in the environment for example, or use an environment variable to
indicate something like CHILD_HACK_DEPTH=1 before initial running and then
the library can decrement this and if it is zero, stop doing the hack. Or
any number of other solutions, all which happily live in userland.

Still, the module is useful for static binaries and convenience.
Just don't underestimate what you can do in userland if you try.

David.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu