// SPDX-License-Identifier: BSD-2-Clause // Copyright CM4all GmbH // author: Max Kellermann #pragma once #include // for O_* #include // for RESOLVE_* #include #include static inline int openat2(int dirfd, const char *pathname, const struct open_how *how, size_t size) { return syscall(__NR_openat2, dirfd, pathname, how, size); }