Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rawSyscall (0.33 sec)

  1. src/syscall/exec_linux.go

    			_, _, err1 = RawSyscall(_SYS_setgroups, ngroups, groups, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    		_, _, err1 = RawSyscall(sys_SETGID, uintptr(cred.Gid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    		_, _, err1 = RawSyscall(sys_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_openbsd_arm.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_386.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_riscv64.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_amd64.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_arm64.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_ppc64.go

    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pipe2(p *[2]_C_int, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_darwin.go

    	"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)
    
    type SockaddrDatalink struct {
    	Len    uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. 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)
  10. src/syscall/syscall_linux_test.go

    		}
    	}
    }
    
    func TestSyscallNoError(t *testing.T) {
    	// On Linux there are currently no syscalls which don't fail and return
    	// a value larger than 0xfffffffffffff001 so we could test RawSyscall
    	// vs. RawSyscallNoError on 64bit architectures.
    	if unsafe.Sizeof(uintptr(0)) != 4 {
    		t.Skip("skipping on non-32bit architecture")
    	}
    
    	// See https://golang.org/issue/35422
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top