diff options
| author | Damien Neil <dneil@google.com> | 2024-12-03 12:22:49 -0800 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2024-12-17 10:04:38 -0800 |
| commit | 4ac8f552e95521d292cc18ccc546739d41283b31 (patch) | |
| tree | 3d8d42ff0d95a0bee336683d20aef1d179469fef /src/bytes | |
| parent | 236a0b4ffb79854546b9f437499092cec23a5725 (diff) | |
| download | go-4ac8f552e95521d292cc18ccc546739d41283b31.tar.xz | |
syscall, internal/syscall/unix: fix fstatat on linux/mips64
On linux/mips64, the syscall.Stat_t struct does not match the
kernel version of the struct. Functions that operate on a Stat_t
translate between it and the kernel struct.
The fstatat function was not doing this translation.
Make it do so.
Export a syscall.Fstatat on mips64 for usage by
internal/syscall/unix. Perhaps we should just do this on all
architectures, but this is the smaller change for now.
Fixes #70659
Change-Id: I38e36473689be25861953b418c9abc5b270a7bcf
Reviewed-on: https://go-review.googlesource.com/c/go/+/633280
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/bytes')
0 files changed, 0 insertions, 0 deletions
