Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('setup.cfg') }}
- run: pip install tox
- run: git submodule update --init --force
- run: env FAKETIME_COMPILE_CFLAGS="-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP" make -C libfaketime/vendor/libfaketime
- run: env FAKETIME_COMPILE_CFLAGS="-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP -Wno-unused-function" make -C libfaketime/vendor/libfaketime
if: runner.os == 'Linux'
- run: make -C libfaketime/vendor/libfaketime
if: runner.os == 'macOS'
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Changelog

[Semantic versioning](http://semver.org/) is used.

3.1.0
-----

- upgrade underlying libfaketime to 0.9.13 without modifications, fixing build failures with recent glibc versions and compilers defaulting to ISO C23
- build the vendored libfaketime with `-Wno-unused-function`, to work around an upstream build failure in 0.9.13

3.0.1
-----
released 2026-08-19
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Contributions are welcome! You should compile libfaketime before running tests:
```bash
git submodule init --update
# For Linux:
env FAKETIME_COMPILE_CFLAGS="-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP" make -C libfaketime/vendor/libfaketime
env FAKETIME_COMPILE_CFLAGS="-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP -Wno-unused-function" make -C libfaketime/vendor/libfaketime
# For macOS
env make -C libfaketime/vendor/libfaketime
```
Expand Down
2 changes: 1 addition & 1 deletion libfaketime/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.0.1"
__version__ = "3.1.0"
2 changes: 1 addition & 1 deletion libfaketime/vendor/libfaketime
Submodule libfaketime updated 99 files
+12 −0 .clang-format
+308 −6 .github/workflows/make-test.yml
+22 −0 .github/workflows/stale.yml
+5 −0 .gitignore
+38 −0 CONTRIBUTING.md
+7 −1 Makefile
+57 −0 NEWS
+124 −6 README
+47 −0 README.OSX
+7 −0 README.developers
+9 −6 man/faketime.1
+79 −12 src/Makefile
+35 −9 src/Makefile.OSX
+51 −0 src/android_compat.h
+283 −68 src/faketime.c
+44 −2 src/faketime_common.h
+230 −0 src/ft_sem.c
+62 −0 src/ft_sem.h
+2,290 −522 src/libfaketime.c
+12 −1 src/libfaketime.map
+90 −21 src/time_ops.h
+1 −1 src/timeprivacy
+11 −0 test/Dockerfile.fedora-sanitizer
+117 −8 test/Makefile
+70 −5 test/Makefile.OSX
+28 −0 test/README-fedora.md
+137 −0 test/README-platforms.md
+48 −0 test/abi_info_test.c
+17 −0 test/asan_preload_test.c
+45 −0 test/ci_validate.sh
+9 −0 test/clean_build.sh
+48 −0 test/clock_consistency_test.c
+28 −0 test/clock_error_test.c
+36 −0 test/compile_abi_variants.sh
+14 −0 test/docker_arm64.sh
+176 −0 test/docker_baseline.sh
+116 −0 test/docker_sanitizers.sh
+42 −0 test/emfile_clock_test.c
+32 −0 test/fake_pid_contract_test.c
+20 −0 test/fake_pid_test.c
+50 −0 test/fd_leak_test.c
+39 −0 test/fd_liveness_test.c
+130 −0 test/file_timestamp_test.c
+5 −5 test/functests/common.inc
+71 −0 test/functests/test_abi_filesystem.sh
+46 −0 test/functests/test_asan_preload.sh
+49 −0 test/functests/test_async_runtime.sh
+36 −0 test/functests/test_clock_consistency.sh
+140 −0 test/functests/test_clock_contract.sh
+40 −0 test/functests/test_concurrency_stress.sh
+119 −0 test/functests/test_config_file.sh
+1 −1 test/functests/test_exclude_mono.sh
+278 −0 test/functests/test_failure_paths.sh
+54 −0 test/functests/test_fake_pid.sh
+37 −0 test/functests/test_file_timestamps.sh
+87 −0 test/functests/test_follow_absolute.sh
+74 −0 test/functests/test_linux_timer_contract.sh
+56 −0 test/functests/test_loader_hardening.sh
+167 −0 test/functests/test_numeric_config.sh
+47 −0 test/functests/test_random.sh
+46 −0 test/functests/test_recent_issue_regressions.sh
+55 −0 test/functests/test_resource_safety.sh
+96 −0 test/functests/test_runtime_probe.sh
+30 −0 test/functests/test_shm_across_processes.sh
+112 −0 test/functests/test_shm_lifecycle.sh
+86 −0 test/functests/test_spawn_exec.sh
+37 −0 test/functests/test_syscall_intercept.sh
+73 −0 test/functests/test_time_model.sh
+12 −3 test/functests/test_walkone.sh
+64 −0 test/futex_contract_test.c
+9 −0 test/fuzz/README
+5 −0 test/fuzz/config-boundaries
+8 −0 test/fuzz/faketime-boundaries
+18 −0 test/init_reentry.c
+43 −0 test/macos_clock_test.c
+5 −0 test/optional_runtime_probe.rs
+38 −0 test/random_test.c
+32 −0 test/release_check.sh
+184 −0 test/sem_contract_test.c
+32 −0 test/set_mtime.c
+90 −0 test/shm_layout_test.c
+3 −0 test/snippets/include_headers.h
+32 −0 test/snippets/syscall_clock_nanosleep.c
+1 −0 test/snippets/syscall_clock_nanosleep.variable
+1 −1 test/snippets/time.c
+27 −0 test/syscall_contract_test.c
+32 −8 test/test.sh
+6 −0 test/test_OSX.sh
+1 −1 test/test_variable_data.sh
+1 −1 test/testframe.sh
+41 −0 test/time64_contract_test.c
+75 −0 test/time_ops_test.c
+83 −0 test/timerfd_contract_test.c
+194 −15 test/timetest.c
+15 −0 test/timezone_contract_test.c
+24 −0 test/valgrind.sh
+99 −0 test/wait_api_contract_test.c
+66 −0 test/wait_contract_test.c
+45 −0 test/wait_timeout_contract_test.c
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ class CustomInstall(install):
def run(self):
self.my_outputs = []
if sys.platform in ("linux", "linux2"):
# -Wno-unused-function works around a libfaketime 0.9.13 build
# failure under -UFAKE_SLEEP; drop it once 0.9.14 is vendored.
subprocess.check_call(
[
"env",
"FAKETIME_COMPILE_CFLAGS=-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP",
"FAKETIME_COMPILE_CFLAGS="
"-UFAKE_STAT -UFAKE_UTIME -UFAKE_SLEEP -Wno-unused-function",
"make",
"-C",
_vendor_path,
Expand Down
Loading