libyesterday
Captures gettimeofday(), time() and clock_gettime() to simulate yesterday's date
Usage examples:
# load date program with day set to yesterday
LD_PRELOAD=/path/to/libyesterday.so /bin/date
# load date program with day set to a week ago
LIBYESTERDAY=$((3600*24*7)) LD_PRELOAD=/path/to/libyesterday.so /bin/date
Author: Dario Rodriguez antartica@whereismybit.com
This program is licensed under the terms of the MIT/X license.