Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fexecve (0.13 sec)

  1. src/syscall/syscall_openbsd_libc.go

    //go:build openbsd && !mips64
    
    package syscall
    
    import (
    	"internal/abi"
    )
    
    var dupTrampoline = abi.FuncPCABI0(libc_dup3_trampoline)
    
    func init() {
    	execveOpenBSD = execve
    }
    
    func syscallInternal(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
    	// OpenBSD 7.5+ no longer supports indirect syscalls. A number of Go
    	// packages make use of syscall.Syscall with SYS_IOCTL since it is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. cmd/service.go

    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/syscall/exec_unix.go

    // execveLibc is non-nil on OS using libc syscall, set to execve in exec_libc.go; this
    // avoids a build dependency for other platforms.
    var execveLibc func(path uintptr, argv uintptr, envp uintptr) Errno
    var execveDarwin func(path *byte, argv **byte, envp **byte) error
    var execveOpenBSD func(path *byte, argv **byte, envp **byte) error
    
    // Exec invokes the execve(2) system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_darwin.go

    //sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    //sys   munmap(addr uintptr, length uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. pkg/proxy/conntrack/conntrack_test.go

    		CombinedOutputScript: []fakeexec.FakeAction{result},
    	}
    	fexec := &fakeexec.FakeExec{
    		CommandScript: []fakeexec.FakeCommandAction{
    			func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(fcmd, cmd, args...) },
    		},
    		LookPathFunc: func(cmd string) (string, error) { return cmd, nil },
    	}
    
    	return &testCT{execCT{fexec}, fcmd}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/preflight/checks_test.go

    				},
    			}
    			fexec := &fakeexec.FakeExec{
    				CommandScript: []fakeexec.FakeCommandAction{
    					func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    				},
    			}
    
    			check := KubeletVersionCheck{KubernetesVersion: tc.k8sVersion, exec: fexec, minKubeletVersion: minimumKubeletVersion}
    			warnings, errors := check.Check()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_arm.go

    func execve(path *byte, argv **byte, envp **byte) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_execve_trampoline), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(argv)), uintptr(unsafe.Pointer(envp)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_execve_trampoline()
    
    //go:cgo_import_dynamic libc_execve execve "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_riscv64.go

    func execve(path *byte, argv **byte, envp **byte) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_execve_trampoline), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(argv)), uintptr(unsafe.Pointer(envp)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_execve_trampoline()
    
    //go:cgo_import_dynamic libc_execve execve "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_amd64.go

    func execve(path *byte, argv **byte, envp **byte) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_execve_trampoline), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(argv)), uintptr(unsafe.Pointer(envp)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_execve_trampoline()
    
    //go:cgo_import_dynamic libc_execve execve "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm64.go

    func execve(path *byte, argv **byte, envp **byte) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_execve_trampoline), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(argv)), uintptr(unsafe.Pointer(envp)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_execve_trampoline()
    
    //go:cgo_import_dynamic libc_execve execve "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top