Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for runtime_AfterForkInChild (0.38 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/tsan12.go

    // libc interceptor that writes signal handlers to a global variable within the
    // TSAN runtime instead of making a sigaction system call. A bug in
    // syscall.runtime_AfterForkInChild corrupted TSAN's signal forwarding table
    // during calls to (*os/exec.Cmd).Run, causing the parent process to fail to
    // invoke signal handlers.
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"os/signal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 929 bytes
    - Viewed (0)
  2. src/syscall/exec_bsd.go

    	// number in the parent process.
    	Foreground bool
    	Pgid       int // Child's process group ID if Setpgid.
    }
    
    // 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.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/syscall/exec_freebsd.go

    }
    
    const (
    	_P_PID = 0
    
    	_PROC_PDEATHSIG_CTL = 11
    )
    
    // 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.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/syscall/exec_libc.go

    	// number in the parent process.
    	Foreground bool
    	Pgid       int // Child's process group ID if Setpgid.
    }
    
    // Implemented in runtime package.
    func runtime_BeforeFork()
    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    func chdir(path uintptr) (err Errno)
    func chroot1(path uintptr) (err Errno)
    func closeFD(fd uintptr) (err Errno)
    func dup2child(old uintptr, new uintptr) (val uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. src/syscall/exec_libc2.go

    	// number in the parent process.
    	Foreground bool
    	Pgid       int // Child's process group ID if Setpgid.
    }
    
    // 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.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top