-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows/mkwinsyscall: use syscall.SyscallN instead of syscall.Syscall{6,9,12,15} #219
Conversation
This PR (HEAD: 56a6bba) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/614082. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
This PR (HEAD: 8774420) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/614082. Important tips:
|
This PR (HEAD: a904a5b) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/614082. Important tips:
|
Message from Quim Muntal: Patch Set 3: Commit-Queue+1 (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-09-20T07:36:36Z","revision":"e0affe7761d8c11b9165b80a276ad4c088873e6f"} Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 3: This CL has failed the run. Reason: Tryjob golang/try/x_sys-gotip-linux-arm64 has failed with summary (view all results):
Build or test failure, click here for results. To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
This PR (HEAD: 9025adf) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/614082. Important tips:
|
This PR (HEAD: c06fca1) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/614082. Important tips:
|
Message from Mert Akman: Patch Set 5: (5 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 9: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 9: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-09-23T10:33:28Z","revision":"bf89520f6a7e73a6682759c29faff179ead50d4a"} Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 9: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 9: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 9: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 9: Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Mert Akman: Patch Set 10: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 10: Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Alex Brainman: Patch Set 10: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Alex Brainman: Patch Set 10: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Mert Akman: Patch Set 10: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Quim Muntal: Patch Set 10: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Ian Lance Taylor: Patch Set 10: Auto-Submit+1 Code-Review+1 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 10: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-10-17T22:53:24Z","revision":"d169ee9d322836888f032b151220d9df27efd5d0"} Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Ian Lance Taylor: Patch Set 10: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 10: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Go LUCI: Patch Set 10: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
Message from Alex Brainman: Patch Set 10: Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/614082. |
…{6,9,12,15} Replace syscall.Syscall6, Syscall9, Syscall12, and Syscall15 with syscall.SyscallN for Go 1.18+. This simplifies system calls by allowing the exact number of arguments needed, eliminating zero padding and reducing potential errors. Updated TestSyscallXGeneration to TestSyscallNGeneration to verify correct SyscallN generation for different argument counts. Change-Id: Icd6662b591d7548e367b88f34243f5529e177eab GitHub-Last-Rev: c06fca1 GitHub-Pull-Request: #219 Reviewed-on: https://go-review.googlesource.com/c/sys/+/614082 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Alex Brainman <[email protected]> Reviewed-by: Quim Muntal <[email protected]>
This PR is being closed because golang.org/cl/614082 has been merged. |
Replace syscall.Syscall6, Syscall9, Syscall12, and Syscall15 with syscall.SyscallN for Go 1.18+. This simplifies system calls by allowing the exact number of arguments needed, eliminating zero padding and reducing potential errors.
Updated TestSyscallXGeneration to TestSyscallNGeneration to verify correct SyscallN generation for different argument counts.