> Hello guys,
>
> I would like to announce a simple (very) module called Time Travel
> which allows one to specify a program on a command line (tt_prog) and
> intercept all the calls to time(2)/gettimeofday(2) from this program (or
> any process with the same current->comm), returning the time shifted by
> the number of seconds specified as a second parameter (tt_shift).
>
> So, for example loading timetravel.o as
>
> # insmod timetravel.o tt_prog="myprog" tt_shift=-160000
>
> fools "myprog" into thinking that "now" is still about two days ago.
> The tt_shift can be both negative and positive.
>
Umm. To insmod this, you must be root. As root, you can change the
system clock to anything you would like it to be. I guess you wish to
be more focused by targeting a specifc app to get shifted?
-Erik
-- Erik B. Andersen Web: http://www.inconnect.com/~andersen/ email: andersee@debian.org --This message was written using 73% post-consumer electrons--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu