wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.62k stars 319 forks source link

INTERCEPT_SYSCALL does not work with multi threaded and FAKETIME_TIMESTAMP_FILE, but it works with FAKETIME #452

Open RCoeurjoly opened 6 months ago

RCoeurjoly commented 6 months ago

I will create a minimum example later

RCoeurjoly commented 6 months ago

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.