Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added runtime detection of the statx system call on Linux.
This can be useful if the syscall is present at compile time but fails with ENOSYS at run time (for example, in Docker containers that restrict the syscall, even if available on the host). Additionally, marked statx syscall wrappers with attributes to disable MSAN for them. It was reported that MSAN on clang 10 is showing errors accessing uninitialized data in stx_mask, which must be initialized by the syscall. Related to #172 Related to #185
- Loading branch information
Showing
2 changed files
with
134 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters