Skip to content

Commit 1a49dcb

Browse files
committed
syscall: remove //sysnb comment generating Setreuid for linux/arm64
CL 210639 moved the //sysnb for Setreuid from syscall_linux_$GOARCH.go to syscall_linux.go but forgot to remove the comment from syscall_linux_arm64.go which leads to Setreuid being generated twice for linux/arm64. Remove that //sysnb comment to avoid this. Change-Id: I2c8ad95f786530ca964685b0a4fe463c64764307 Reviewed-on: https://go-review.googlesource.com/c/go/+/350531 Trust: Tobias Klauser <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent cea7a71 commit 1a49dcb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/syscall/syscall_linux_arm64.go

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ func EpollCreate(size int) (fd int, err error) {
4242
//sys Setfsgid(gid int) (err error)
4343
//sys Setfsuid(uid int) (err error)
4444
//sysnb setrlimit(resource int, rlim *Rlimit) (err error)
45-
//sysnb Setreuid(ruid int, euid int) (err error)
4645
//sys Shutdown(fd int, how int) (err error)
4746
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
4847

0 commit comments

Comments
 (0)