unix: implements RenamexNp and RenameatxNp for darwin

Fixes golang/go#48425

Change-Id: Ib3619863e238eadf09da479bd2e1e47d9ab6f274
Reviewed-on: https://go-review.googlesource.com/c/sys/+/361958
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Koichi Shiraishi
2024-07-09 14:51:42 +00:00
committed by Gopher Robot
parent faed7ec264
commit 4cafe5c66f
10 changed files with 143 additions and 0 deletions
+2
View File
@@ -114,6 +114,8 @@ var darwinTests = [...]darwinTest{
{"removexattr", libc_removexattr_trampoline_addr},
{"rename", libc_rename_trampoline_addr},
{"renameat", libc_renameat_trampoline_addr},
{"renameatx_np", libc_renameatx_np_trampoline_addr},
{"renamex_np", libc_renamex_np_trampoline_addr},
{"revoke", libc_revoke_trampoline_addr},
{"rmdir", libc_rmdir_trampoline_addr},
{"select", libc_select_trampoline_addr},