Tests compilation fails for syscall_coverage.cpp
Compiling tests fails for syscall_coverage.cpp
introduced with 91668525
[ 85%] Building CXX object tests/integration/harness/CMakeFiles/gkfs.io.dir/gkfs.io/syscall_coverage.cpp.o
[ 86%] Building CXX object src/client/CMakeFiles/gkfs_intercept.dir/preload.cpp.o
[ 87%] Building CXX object src/client/CMakeFiles/gkfs_intercept.dir/preload_util.cpp.o
In file included from /usr/include/fcntl.h:342,
from /home/evie/remote_mac/gekkofs/tests/integration/harness/gkfs.io/syscall_coverage.cpp:43:
In function ‘int open(const char*, int, ...)’,
inlined from ‘void syscall_coverage_exec(const syscall_coverage_options&)’ at /home/evie/remote_mac/gekkofs/tests/integration/harness/gkfs.io/syscall_coverage.cpp:370:24:
/usr/include/bits/fcntl2.h:50:31: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
50 | __open_missing_mode ();
| ~~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [tests/integration/harness/CMakeFiles/gkfs.io.dir/build.make:482: tests/integration/harness/CMakeFiles/gkfs.io.dir/gkfs.io/syscall_coverage.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:967: tests/integration/harness/CMakeFiles/gkfs.io.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....