Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for prepareJail (0.1 sec)

  1. src/syscall/exec_freebsd_test.go

    package syscall_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    const (
    	flagJailCreate = uintptr(0x1)
    )
    
    func prepareJail(t *testing.T) (int, string) {
    	t.Helper()
    
    	root := t.TempDir()
    	paramPath := []byte("path\x00")
    	conf := make([]syscall.Iovec, 4)
    	conf[0].Base = &paramPath[0]
    	conf[0].SetLen(len(paramPath))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/wasm/ssa.go

    	}
    }
    
    func ssaGenValue(s *ssagen.State, v *ssa.Value) {
    	switch v.Op {
    	case ssa.OpWasmLoweredStaticCall, ssa.OpWasmLoweredClosureCall, ssa.OpWasmLoweredInterCall, ssa.OpWasmLoweredTailCall:
    		s.PrepareCall(v)
    		if call, ok := v.Aux.(*ssa.AuxCall); ok && call.Fn == ir.Syms.Deferreturn {
    			// The runtime needs to inject jumps to
    			// deferreturn calls using the address in
    			// _func.deferreturn. Hence, the call to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    	} else {
    		a.Name = obj.NAME_AUTO
    	}
    }
    
    // Call returns a new CALL instruction for the SSA value v.
    // It uses PrepareCall to prepare the call.
    func (s *State) Call(v *ssa.Value) *obj.Prog {
    	pPosIsStmt := s.pp.Pos.IsStmt() // The statement-ness fo the call comes from ssaGenState
    	s.PrepareCall(v)
    
    	p := s.Prog(obj.ACALL)
    	if pPosIsStmt == src.PosIsStmt {
    		p.Pos = v.Pos.WithIsStmt()
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top