Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for rawSyscall6 (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go

    	fd, _, err := Syscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
    	return int(fd), err
    }
    
    func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) {
    	fd, _, err := RawSyscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
    	return int(fd), err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 986 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc.go

    //go:build linux && gc
    
    package unix
    
    // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
    func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
    
    // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
    // fail.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 495 bytes
    - Viewed (0)
  3. src/runtime/syscall_aix.go

    	return 0, 0, _EINVAL
    }
    
    // This is syscall.RawSyscall, it exists to satisfy some build dependency,
    // but it doesn't work.
    //
    // This is exported via linkname to assembly in the syscall package.
    //
    //go:linkname syscall_RawSyscall
    func syscall_RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
    	panic("RawSyscall not available on AIX")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/syscall/syscall_linux_riscv64.go

    		NsecToTimespec(TimevalToNsec(tv[1])),
    	}
    	return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) 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
    - 5.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_mips64x.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
    - 6K bytes
    - Viewed (0)
  9. src/syscall/exec_libc.go

    // ../runtime/syscall_solaris.go, rather than generated libc wrappers
    // because we need to avoid lazy-loading the functions (might malloc,
    // split the stack, or acquire mutexes). We can't call RawSyscall
    // because it's not safe even for BSD-subsystem calls.
    //
    //go:norace
    func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, 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)
  10. src/syscall/syscall_linux_s390x.go

    	_, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top