Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 119 for RawSyscall (0.11 sec)

  1. src/syscall/syscall_openbsd_libc.go

    func syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
    func syscall10X(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
    func rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func rawSyscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    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. src/syscall/exec_unix.go

    	rlim := origRlimitNofile.Load()
    	if rlim != nil {
    		Setrlimit(RLIMIT_NOFILE, rlim)
    	}
    
    	var err1 error
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" {
    		// RawSyscall should never be used on Solaris, illumos, or AIX.
    		err1 = execveLibc(
    			uintptr(unsafe.Pointer(argv0p)),
    			uintptr(unsafe.Pointer(&argvp[0])),
    			uintptr(unsafe.Pointer(&envvp[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)
  3. src/syscall/syscall_darwin.go

    package syscall
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    var dupTrampoline = abi.FuncPCABI0(libc_dup2_trampoline)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd3.go

    }
    func syscall10X()
    
    // golang.org/x/sys linknames syscall_rawSyscall
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    //go:linkname syscall_rawSyscall syscall.rawSyscall
    //go:nosplit
    //go:cgo_unsafe_args
    func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscall)), unsafe.Pointer(&fn))
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux.go

    //
    // //go:norace, on RawSyscall, to avoid race instrumentation if RawSyscall is
    // called after fork, or from a signal handler.
    //
    // //go:linkname to ensure ABI wrappers are generated for external callers
    // (notably x/sys/unix assembly).
    
    //go:uintptrkeepalive
    //go:nosplit
    //go:norace
    //go:linkname RawSyscall
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_plan9.go

    var SocketDisableIPv6 bool
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err ErrorString)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err ErrorString)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
    func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
    
    //go:nosplit
    func atoi(b []byte) (n uint) {
    	n = 0
    	for i := 0; i < len(b); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_amd64.go

    }
    
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_ppc64x.go

    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_arm64.go

    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall6(SYS_PRLIMIT64, 0, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0, 0, 0)
    	if errno != ENOSYS {
    		return errno
    	}
    	_, _, errno = RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Pc }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_arm.go

    		return EINVAL
    	}
    	if rlim.Max == rlimInf64 {
    		rl.Max = rlimInf32
    	} else if rlim.Max < uint64(rlimInf32) {
    		rl.Max = uint32(rlim.Max)
    	} else {
    		return EINVAL
    	}
    
    	_, _, errno = RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top