]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: remove //sysnb comment generating Setreuid for linux/arm64
authorTobias Klauser <tklauser@distanz.ch>
Fri, 17 Sep 2021 12:23:04 +0000 (14:23 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 17 Sep 2021 20:26:41 +0000 (20:26 +0000)
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 <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/syscall_linux_arm64.go

index f575c84c930c2d0a884893289a285a939a0b4b07..517723ae471e7813f99111ffde38a31006b3c873 100644 (file)
@@ -42,7 +42,6 @@ func EpollCreate(size int) (fd int, err error) {
 //sys  Setfsgid(gid int) (err error)
 //sys  Setfsuid(uid int) (err error)
 //sysnb        setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
 //sys  Shutdown(fd int, how int) (err error)
 //sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)