criu/test/zdtm
Pavel Tikhomirov d72f1586bc
zdtm: fix incorrect open() syscall use for file creation without mode
We saw compilation errors like:

  error: call to ‘__open_missing_mode’ declared with attribute error:
  open with O_CREAT or O_TMPFILE in second argument needs 3 arguments

Let's fix them by adding mode 0777 everywhere.

Before this change the mode was taken randomly from stack (according to
man 2 open) and that is likely not what we want.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2026-07-21 13:40:18 +02:00
..
lib limit the field width of 'scanf' 2026-07-21 13:40:16 +02:00
static zdtm: fix incorrect open() syscall use for file creation without mode 2026-07-21 13:40:18 +02:00
transition zdtm: add rseq parasite collision avoidance test 2026-07-20 11:23:01 +02: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 zdtm: Distinguish between fail and crash of dump 2024-09-11 16:02:11 -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 2026-07-21 13:40:17 +02:00