- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 267 for syscalls (0.2 sec)
-
src/internal/runtime/syscall/asm_linux_arm.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) TEXT ·Syscall6(SB),NOSPLIT,$0-40 MOVW num+0(FP), R7 // syscall entry MOVW a1+4(FP), R0 MOVW a2+8(FP), R1 MOVW a3+12(FP), R2 MOVW a4+16(FP), R3 MOVW a5+20(FP), R4 MOVW a6+24(FP), R5 SWI $0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 696 bytes - Viewed (0) -
src/syscall/export_linux_test.go
// license that can be found in the LICENSE file. package syscall import ( "unsafe" ) var ( RawSyscallNoError = rawSyscallNoError ForceClone3 = &forceClone3 Prlimit = prlimit ) const ( Sys_GETEUID = sys_GETEUID ) func Tcgetpgrp(fd int) (pgid int32, err error) { _, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCGPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:18:19 UTC 2024 - 775 bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_amd64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) // // We need to convert to the syscall ABI. // // arg | ABIInternal | Syscall // --------------------------- // num | AX | AX // a1 | BX | DI // a2 | CX | SI // a3 | DI | DX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 1.1K bytes - Viewed (0) -
src/runtime/sys_openbsd3.go
entersyscall() libcCall(unsafe.Pointer(abi.FuncPCABI0(syscallX)), unsafe.Pointer(&fn)) exitsyscall() return } func syscallX() // golang.org/x/sys linknames syscall.syscall6 // (in addition to standard package syscall). // Do not remove or change the type signature. // //go:linkname syscall_syscall6 syscall.syscall6 //go:nosplit //go:cgo_unsafe_args
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 54.6K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
// it in our own nicer implementation, either here or in // syscall_bsd.go or syscall_unix.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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_386.s
// instead of the glibc-specific "CALL 0x10(GS)". #define INVOKE_SYSCALL INT $0x80 // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) // // Syscall # in AX, args in BX CX DX SI DI BP, return in AX TEXT ·Syscall6(SB),NOSPLIT,$0-40 MOVL num+0(FP), AX // syscall entry MOVL a1+4(FP), BX MOVL a2+8(FP), CX MOVL a3+12(FP), DX MOVL a4+16(FP), SI MOVL a5+20(FP), DI
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 861 bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_loong64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) // // We need to convert to the syscall ABI. // // arg | ABIInternal | Syscall // --------------------------- // num | R4 | R11 // a1 | R5 | R4 // a2 | R6 | R5 // a3 | R7 | R6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 1013 bytes - Viewed (0) -
src/internal/syscall/unix/tcsetpgrp_linux.go
// license that can be found in the LICENSE file. package unix import ( "syscall" "unsafe" ) // Note that pgid should really be pid_t, however _C_int (aka int32) is // generally equivalent. func Tcsetpgrp(fd int, pgid int32) (err error) { _, _, errno := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), uintptr(syscall.TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0) if errno != 0 { return errno }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 537 bytes - Viewed (0) -
src/runtime/tracestack.go
// in a syscall, in which case it's currently not executing. gp.sched contains the most // up-to-date information about where it stopped, and like case (1), we match gcallers // here. // // (3) We're called against a gp that we're not currently executing on, but that is in // a syscall, in which case gp.syscallsp != 0. gp.syscall* contains the most up-to-date
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0)