diff options
author | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-09-03 12:01:33 +0200 |
---|---|---|
committer | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-09-03 12:01:33 +0200 |
commit | 5d1e6325f26380aea9a12d126571fcee3c30af31 (patch) | |
tree | e18ff549673e9fb0bf1cbab9098071a77ff55935 /README | |
parent | 8ed946cb63b636d522a139119558e97a385e516d (diff) | |
download | libfaketime-5d1e6325f26380aea9a12d126571fcee3c30af31.tar.gz |
Add FAKE_SETTIME to CFLAGS to intercept time-setting calls (#179)
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -456,6 +456,16 @@ a lot of processes are started (e.g., servers handling many containers or similar virtualization mechanisms). +Intercepting time-setting calls +------------------------------- + +libfaketime can be compiled with the CFLAG "-DFAKE_SETTIME" in order +to also intercept time-setting functions, i.e., clock_settime(), +settimeofday(), and adjtime(). Instead of passing the timestamp a +program sets through to the system, only the FAKETIME environment +variable will be adjusted accordingly. + + 4f) Faking the date and time system-wide ---------------------------------------- |