[ 源代码: faketime ]
软件包:libfaketime(0.9.10-2.1)
Report faked system time to programs (preload library)
The Fake Time Preload Library (FTPL, a.k.a. libfaketime) intercepts various system calls which programs use to retrieve the current date and time. It can then report faked dates and times (as specified by you, the user) to these programs. This means you can modify the system time a program sees without having to change the time system-wide. FTPL allows you to specify both absolute dates (e.g., 2004-01-01) and relative dates (e.g., 10 days ago).
This package contains the LD_PRELOAD library for faketime.