]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #65685 - oxalica:statx-eperm, r=alexcrichton
authorMazdak Farrokhzad <twingoow@gmail.com>
Fri, 25 Oct 2019 11:12:48 +0000 (13:12 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2019 11:12:48 +0000 (13:12 +0200)
commitf1d747a99dd32919ca719ae49d2e7673c6ab689e
tree4be405bef3d3d0b5c0c012e8cb2901f08f48af3c
parent8bb039fb83f7f18df5e1d71607981c8d4902b7b3
parent10f1bc77b3c404ebc1d386fc14453b6b32cf02bb
Rollup merge of #65685 - oxalica:statx-eperm, r=alexcrichton

Fix check of `statx` and handle EPERM

Should fix #65662

https://github.com/rust-lang/rust/issues/65662#issuecomment-544593939
> I think a reasonable solution might be to do something like try to stat AT_CWD initially and if that fails with EPERM or ENOSYS we disable the syscall entirely, otherwise it's cached as always good to use.

r? @alexcrichton