-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect statx
support properly in Docker
#352
Comments
sunfishcode
added a commit
that referenced
this issue
Jun 6, 2022
In older versions of Docker, `statx` can fail with `EPERM` meaning it isn't available. Recognize this, and translate it into `ENOSYS`. Also, have `statx` remember this and fail quickly in future calls. This is more emulation than rustix usually likes to do, but in this case, this is the behavior seems likely to be what most users will want, and we might as well put the code in one place. Fixes #352.
sunfishcode
added a commit
that referenced
this issue
Jun 6, 2022
In older versions of Docker, `statx` can fail with `EPERM` meaning it isn't available. Recognize this, and translate it into `ENOSYS`. Also, have `statx` remember this and fail quickly in future calls. This is more emulation than rustix usually likes to do, but in this case, this is the behavior seems likely to be what most users will want, and we might as well put the code in one place. Fixes #352.
sunfishcode
added a commit
that referenced
this issue
Jun 7, 2022
In older versions of Docker, `statx` can fail with `EPERM` meaning it isn't available. Recognize this, and translate it into `ENOSYS`. Also, have `statx` remember this and fail quickly in future calls. This is more emulation than rustix usually likes to do, but in this case, this is the behavior seems likely to be what most users will want, and we might as well put the code in one place. Fixes #352.
sunfishcode
added a commit
that referenced
this issue
Jun 13, 2022
In older versions of Docker, `statx` can fail with `EPERM` meaning it isn't available. Recognize this, and translate it into `ENOSYS`. Also, have `statx` remember this and fail quickly in future calls. This is more emulation than rustix usually likes to do, but in this case, this is the behavior seems likely to be what most users will want, and we might as well put the code in one place. Fixes #352.
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Std uses a special check for detecting whether ``statx
is available. To support running in Docker, rustix should do a similar check when it uses
statx`.The text was updated successfully, but these errors were encountered: