libfaketime
libfaketime copied to clipboard
INTERCEPT_SYSCALL does not work with multi threaded and FAKETIME_TIMESTAMP_FILE, but it works with FAKETIME
I will create a minimum example later
Debugging the problem, I see it steams from DONT_FAKE_TIME.
When I call syscall, dont_fake == true, therefore I get a non faked time, which is undesired, given that I have specified the FAKETIME_TIMESTAMP_FILE.