1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4 5 package runtime
6 7 // Called from syscall package before Exec.
8 //
9 //go:linkname syscall_runtime_BeforeExec syscall.runtime_BeforeExec
10 func syscall_runtime_BeforeExec() {
11 // Used in BigGo to serialize exec / thread creation. Stubbing to
12 // satisfy link.
13 }
14 15 // Called from syscall package after Exec.
16 //
17 //go:linkname syscall_runtime_AfterExec syscall.runtime_AfterExec
18 func syscall_runtime_AfterExec() {
19 }
20