3.11 or newer. It's only defined on system with 3.11 uapi headers, too.
O_NOFOLLOW
O_NOATIME
O_PATH
+ O_TMPFILE
These constants are GNU extensions and not present if they are not defined by
the C library.
Library
-------
+- Issue #18673: Add O_TMPFILE to os module. O_TMPFILE requires Linux kernel
+ 3.11 or newer. It's only defined on system with 3.11 uapi headers, too.
+
- Issue #18532: Change the builtin hash algorithms' names to lower case names
as promised by hashlib's documentation.
#ifdef O_TTY_INIT
if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
#endif
+#ifdef O_TMPFILE
+ if (PyModule_AddIntMacro(m, O_TMPFILE)) return -1;
+#endif
#ifdef PRIO_PROCESS
if (PyModule_AddIntMacro(m, PRIO_PROCESS)) return -1;
#endif