Skip to content

Commit 2a0bb09

Browse files
committed
syscall: fix sycall.ptrace cause nosplit stack over 792 byte limit
Fixes #54291
1 parent 0c4db1e commit 2a0bb09

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/syscall/ptrace_darwin.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,4 @@
66

77
package syscall
88

9-
// Nosplit because it is called from forkAndExecInChild.
10-
//
11-
//go:nosplit
12-
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
13-
return ptrace1(request, pid, addr, data)
14-
}
9+
var ptrace = ptrace1

0 commit comments

Comments
 (0)