Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_BeforeFork (0.3 sec)

  1. src/syscall/exec_linux.go

    	PidFD *int
    }
    
    var (
    	none  = [...]byte{'n', 'o', 'n', 'e', 0}
    	slash = [...]byte{'/', 0}
    
    	forceClone3 = false // Used by unit tests only.
    )
    
    // Implemented in runtime package.
    func runtime_BeforeFork()
    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    //   - github.com/containerd/containerd
    //   - gvisor.dev/gvisor
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_runtime_BeforeFork syscall.runtime_BeforeFork
    //go:nosplit
    func syscall_runtime_BeforeFork() {
    	gp := getg().m.curg
    
    	// Block signals during a fork, so that the child does not run
    	// a signal handler before exec if a signal is sent to the process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top