stub runtime_{Before,After}Exec for linkage

This commit is contained in:
Roger Standridge
2024-08-21 08:32:23 -07:00
committed by Ron Evans
parent 105fe9b25d
commit e39358d0ee
+19
View File
@@ -0,0 +1,19 @@
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package runtime
// Called from syscall package before Exec.
//
//go:linkname syscall_runtime_BeforeExec syscall.runtime_BeforeExec
func syscall_runtime_BeforeExec() {
// Used in BigGo to serialize exec / thread creation. Stubbing to
// satisfy link.
}
// Called from syscall package after Exec.
//
//go:linkname syscall_runtime_AfterExec syscall.runtime_AfterExec
func syscall_runtime_AfterExec() {
}