]> Cypherpunks repositories - gostls13.git/commit
syscall: use SYS_SETRLIMIT in //sysnb setrlimit1 on linux/arm64
authorTobias Klauser <tklauser@distanz.ch>
Tue, 12 Sep 2023 09:46:25 +0000 (11:46 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 13 Sep 2023 18:29:13 +0000 (18:29 +0000)
commit65c407b405376efd2fc7cae243ac1df3991d35a0
treeedd8d04aebbf1c89c773892605efb654123219d1
parent105f9d51691d996c1698811ca3906b505639f49b
syscall: use SYS_SETRLIMIT in //sysnb setrlimit1 on linux/arm64

Otherwise the setrlimit1 wrapper would be generated using the inexistent
SYS_GETRLIMIT1 syscall number.

This was likely missed in CL 476097.

For #476097

Change-Id: I5cfa2ebacb58aeeaddd3db3639a45cf368fbe0ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/527555
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/syscall/syscall_linux_arm64.go