mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
There are operating systems that define `O_CREAT` with a different value than Linux, which uses `0x40`. For example, OpenBSD uses `0x0200`. Hence, we cannot use a hardcoded value. Also handle `O_TMPFILE` while here.