aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux.go
diff options
context:
space:
mode:
authorGuoqi Chen <chenguoqi@loongson.cn>2022-06-10 19:08:14 +0800
committerGopher Robot <gobot@golang.org>2022-06-15 20:49:30 +0000
commit97bfc77f3897d6268cf4f9bb6756b97ff5e7cc03 (patch)
tree6ccaf67926bb9c992e874cd4f7688f3e0c1285f3 /src/syscall/exec_linux.go
parent937fa5000a7bb07ed62d35a1aea9ea0819659084 (diff)
downloadgo-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