mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
By building with -DFT_SEMAPHORE_BACKEND=FT_SYSV, the System V semaphore API is unsed instead of POSIX. This works around a glibc bug[1] and fixes https://github.com/wolfcw/libfaketime/issues/427 ("libfaketime hangs forever when 32-bit process is executed within 64-bit process"). The default backend is still POSIX, in case there are regressions in the new code. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=17980 Ref https://github.com/wolfcw/libfaketime/issues/427