A wrapper for statx libc function. Disable MSAN since at least on clang 10 it doesn't know which fields of struct statx are initialized by the syscall and misdetects errors.
| 342 | //! A wrapper for statx libc function. Disable MSAN since at least on clang 10 it doesn't |
| 343 | //! know which fields of struct statx are initialized by the syscall and misdetects errors. |
| 344 | BOOST_FILESYSTEM_NO_SANITIZE_MEMORY |
| 345 | BOOST_FORCEINLINE int invoke_statx(int dirfd, const char* path, int flags, unsigned int mask, struct ::statx* stx) |
| 346 | { |
| 347 | return ::statx(dirfd, path, flags, mask, stx); |
| 348 | } |
| 349 | |
| 350 | #elif defined(BOOST_FILESYSTEM_HAS_STATX_SYSCALL) |
| 351 |
no test coverage detected