criu/test/zdtm
Adrian Reber 6233eaa5f0 test: replace insecure tempfile.mktemp with mkstemp
tempfile.mktemp is deprecated because it only generates a filename
without creating the file, introducing a TOCTOU race condition where
another process could create a file with the same name between the
mktemp call and the subsequent file operation.

Replace it with tempfile.mkstemp, which atomically creates the file
and returns a file descriptor, eliminating the race window.

Assisted-by: Claude Code (claude-opus-4-6)
Signed-off-by: Adrian Reber <areber@redhat.com>
2026-06-19 09:01:36 -07:00
..
lib zdtm/bpfmap: parse frozen field with SCNu32 2026-04-16 10:41:44 -07:00
static zdtm: add inotify_overlayfs test 2026-06-16 09:53:58 +01:00
transition zdtm: retry pthread_create on EAGAIN in thread-bomb 2026-06-10 12:29:26 +01:00
.gitignore test/zdtm: unify common code 2017-04-02 18:12:10 +03:00
__init__.py zdtm: add --criu-config option 2022-04-28 17:53:52 -07:00
criu_config.py test: replace insecure tempfile.mktemp with mkstemp 2026-06-19 09:01:36 -07:00
Makefile test/zdtm/Makefile: simplify 2017-04-02 18:12:10 +03:00
Makefile.inc zdtm: gcs: add opt-in GCS test support for AArch64 2025-12-07 19:20:00 +01:00