Skip to content

Commit 22ac670

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

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/syscall/ptrace_darwin.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ package syscall
88

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

0 commit comments

Comments
 (0)