Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forkExecPipe (0.13 sec)

  1. src/syscall/exec_unix.go

    	}
    	if sys.Setctty && sys.Ctty >= len(attr.Files) {
    		return 0, errorspkg.New("Setctty set but Ctty not valid in child")
    	}
    
    	acquireForkLock()
    
    	// Allocate child status pipe close on exec.
    	if err = forkExecPipe(p[:]); err != nil {
    		releaseForkLock()
    		return 0, err
    	}
    
    	// Kick off child.
    	pid, err1 = forkAndExecInChild(argv0p, argvp, envvp, chroot, dir, attr, sys, p[1])
    	if err1 != 0 {
    		Close(p[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    	}
    	nextfd++
    
    	// Allocate another pipe for parent to child communication for
    	// synchronizing writing of User ID/Group ID mappings.
    	if sys.UidMappings != nil || sys.GidMappings != nil {
    		if err := forkExecPipe(mapPipe[:]); err != nil {
    			err1 = err.(Errno)
    			return
    		}
    	}
    
    	flags = sys.Cloneflags
    	if sys.Cloneflags&CLONE_NEWUSER == 0 && sys.Unshareflags&CLONE_NEWUSER == 0 {
    		flags |= CLONE_VFORK | CLONE_VM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top