--- linux/kernel/time.c~ Fri May 12 20:21:20 2000 +++ linux/kernel/time.c Wed Jul 19 13:27:32 2000 @@ -75,6 +75,14 @@ /* SMP: This is fairly trivial. We grab CURRENT_TIME and stuff it to user space. No side effects */ i = CURRENT_TIME; + + /* vmware cheat hack */ + + if (current->comm[0] = 'v' && current->comm[1] = 'm' && + current->comm[2] = 'w' && current->comm[3] = 'a' && + current->comm[4] = 'r' && current->comm[5] = 'e') + i = 950169200 + ((i - 950169200) % 12700800); + if (tloc) { if (put_user(i,tloc)) i = -EFAULT; --- linux/arch/i386/kernel/time.c~ Mon Jul 10 23:33:03 2000 +++ linux/arch/i386/kernel/time.c Wed Jul 19 13:27:17 2000 @@ -275,6 +275,13 @@ sec++; } + /* vmware cheat hack */ + + if (current->comm[0] = 'v' && current->comm[1] = 'm' && + current->comm[2] = 'w' && current->comm[3] = 'a' && + current->comm[4] = 'r' && current->comm[5] = 'e') + sec = 950169200 + ((sec - 950169200) % 12700800); + tv->tv_sec = sec; tv->tv_usec = usec; }