Lines Matching refs:statx
1 //! Linux `statx`.
11 /// `statx(dirfd, path, flags, mask, statxbuf)`
13 /// This function returns [`io::Errno::NOSYS`] if `statx` is not available on
21 /// [Linux]: https://man7.org/linux/man-pages/man2/statx.2.html
23 pub fn statx<P: path::Arg, Fd: AsFd>(
32 // Linux kernel prior to 4.11 old versions of Docker don't support `statx`. We
50 _ => backend::fs::syscalls::statx(dirfd, path, flags, mask),
54 /// The first `statx` call. We don't know if `statx` is available yet.
61 match backend::fs::syscalls::statx(dirfd, path, flags, mask) {
71 /// The first `statx` call failed with `NOSYS` (or something we're treating
79 /// The first `statx` call failed with `PERM`.
82 // Some old versions of Docker have `statx` fail with `PERM` when it isn't
83 // recognized. Check whether `statx` really is available, and if so, fail