diff options
| author | Guoqi Chen <chenguoqi@loongson.cn> | 2022-06-10 19:08:14 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-06-15 20:49:30 +0000 |
| commit | 97bfc77f3897d6268cf4f9bb6756b97ff5e7cc03 (patch) | |
| tree | 6ccaf67926bb9c992e874cd4f7688f3e0c1285f3 /src/syscall/exec_linux.go | |
| parent | 937fa5000a7bb07ed62d35a1aea9ea0819659084 (diff) | |
| download | go-97bfc77f3897d6268cf4f9bb6756b97ff5e7cc03.tar.xz | |
syscall, runtime/internal/syscall: always zero the higher bits of return value on linux/loong64
All loong64 syscalls return values only via R4/A0, and R5/A1 may contain unrelated
content. Always zero the second return value.
Change-Id: I62af59369bece5bd8028b937c74f4694150f7a55
Reviewed-on: https://go-review.googlesource.com/c/go/+/411615
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
