Define VKI_F_CREATED_QUERY in vki-linux.h.
Recognize it in PRE(sys_fcntl).
This fixes ltp tests failures. When running:
make ltpchecks TESTS="fcntl40 fcntl40_64
the tests would fail with:
fcntl40: unempty log2.filtered:
==
1809471== Warning: unimplemented fcntl command: 1028
https://bugs.kde.org/show_bug.cgi?id=506076
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.
+506076 unimplemented fcntl command: 1028 (F_CREATED_QUERY)
338803 Handling of dwz debug alt files or cross-CU is broken
493434 Add --track-fds=bad mode (no "leak" tracking)
503098 Incorrect NAN-boxing for float registers in RISC-V
case VKI_F_GETSIG:
case VKI_F_GETLEASE:
case VKI_F_GETPIPE_SZ:
+ case VKI_F_CREATED_QUERY:
case VKI_F_GET_SEALS:
PRINT("sys_fcntl ( %" FMT_REGWORD "u, %" FMT_REGWORD "u )", ARG1, ARG2);
PRE_REG_READ2(long, "fcntl", unsigned int, fd, unsigned int, cmd);
#define VKI_F_SETLEASE (VKI_F_LINUX_SPECIFIC_BASE + 0)
#define VKI_F_GETLEASE (VKI_F_LINUX_SPECIFIC_BASE + 1)
+#define VKI_F_CREATED_QUERY (VKI_F_LINUX_SPECIFIC_BASE + 4)
#define VKI_F_CANCELLK (VKI_F_LINUX_SPECIFIC_BASE + 5)
#define VKI_F_DUPFD_CLOEXEC (VKI_F_LINUX_SPECIFIC_BASE + 6)