/* This source file is part of the Swift System open source project Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information */ #ifdef __linux__ #include #include #include #include #include #include #include #include #include #include #include "io_uring.h" // Test-only: libc's `ST_*` values, which glibc gates on _GNU_SOURCE. Defining // that here would clash with SwiftGlibc, so shims.c defines it instead. #include uint64_t _system_get_ST_RDONLY(void); uint64_t _system_get_ST_NOSUID(void); uint64_t _system_get_ST_NODEV(void); uint64_t _system_get_ST_NOEXEC(void); uint64_t _system_get_ST_SYNCHRONOUS(void); uint64_t _system_get_ST_MANDLOCK(void); uint64_t _system_get_ST_NOATIME(void); uint64_t _system_get_ST_NODIRATIME(void); uint64_t _system_get_ST_RELATIME(void); uint64_t _system_get_ST_NOSYMFOLLOW(void); #endif