]> Cypherpunks repositories - gostls13.git/commit
syscall: provide Renameat as a wrapper around renameat2 on riscv64
authorJoel Sing <joel@sing.id.au>
Sun, 5 Jan 2020 14:48:43 +0000 (01:48 +1100)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 6 Jan 2020 09:24:14 +0000 (09:24 +0000)
commitf9813515c02ac49d350cd3736f8e44cdd5786070
treea4803405cea0907ab395a29dd849dacb98fea791
parentfc5eee3c1d37131ca5887ed1d020f6cf83d20a92
syscall: provide Renameat as a wrapper around renameat2 on riscv64

linux/riscv64 does not provide a renameat syscall and there is no SYS_RENAMEAT
defined in the syscall package. Provide Renameat as a wrapper around renameat2
instead.

Updates #27532

Change-Id: I4864bdf0055e4272920583dcfb0efe2fd40adcbc
Reviewed-on: https://go-review.googlesource.com/c/go/+/212762
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/syscall/syscall_linux_riscv64.go
src/syscall/zsyscall_linux_riscv64.go