summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorWolfgang Hommel <wolf@code-wizards.com>2012-01-08 22:41:54 +0100
committerWolfgang Hommel <wolf@code-wizards.com>2012-01-08 22:41:54 +0100
commit837e2c7e62ec13a946946d652e63a03732e58a8b (patch)
tree3e00fe0c9cab89d7fe3aa1a1ed1df21ed1151d24 /NEWS
parente72d8e0419fac867a452a23a4ad8f3ebf0ca5d7b (diff)
downloadlibfaketime-837e2c7e62ec13a946946d652e63a03732e58a8b.tar.gz
Added new feature to limit libfaketime activity
These changes add a new feature that can be used to limit libfaketime's activity period, and prepares for the upcoming 0.9 release. Four new environment variables can optionally be set: FAKETIME_START_AFTER_SECONDS, FAKETIME_STOP_AFTER_SECONDS, FAKETIME_START_AFTER_NUMCALLS, and FAKETIME_START_AFTER_NUMCALLS. libfaketime will only return faked timestamps if the program's runtime is between FAKETIME_START_AFTER_SECONDS and FAKETIME_STOP_AFTER_SECONDS seconds. For example, a program may be started with the real current time, and after 60 seconds, it will start to receive faked timestamps, e.g., one year in the future. The other pair of environment variables limits libfaketime's activity based on the number of time-related system calls of the started program, instead of its run-time in seconds. Using this new feature will break applications that cannot handle larger sudden changes in timestamps, so use it with care.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a6ede55..e849385 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+Since 0.8.2:
+ - Added support for "limited faking".
+ You can optionally specify when libfaketime starts to fake the
+ returned timestamps and when it shall stop doing so. For example,
+ a program can be started regularly, and after 5 minutes run-time
+ it will be sent two years into the future. Those limiting
+ start and stop times can be specified in seconds or as the
+ number of any time-related function calls within the program.
+
Since 0.8.1:
- Added a MacOS port.
Thanks to Derrick Brashear!