- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for Getegid (0.1 sec)
-
src/cmd/cgo/internal/test/setgid_linux.go
// Test that setgid does not hang on Linux. // See https://golang.org/issue/3871 for details. package cgotest /* #include <sys/types.h> #include <unistd.h> */ import "C" import ( "os" "os/signal" "syscall" "testing" "time" ) func runTestSetgid() bool { c := make(chan bool) go func() { C.setgid(0) c <- true }() select { case <-c:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 843 bytes - Viewed (0) -
src/syscall/exec_solaris_test.go
//go:build solaris package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/syscall/exec_aix_test.go
//go:build aix package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_mipsx.s
// Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADDU $(1024*8), R29 // Ask signaller to setgid MOVW $1, R1 SYNC MOVW R1, ·Baton(SB) SYNC // Wait for setgid completion loop: SYNC MOVW ·Baton(SB), R1 OR R2, R2, R2 // hint that we're in a spin loop BNE R1, loop SYNC // Restore stack ADDU $(-1024*8), R29
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 663 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s
// Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADD $(1024 * 8), R1 // Ask signaller to setgid MOVW $1, R3 SYNC MOVW R3, ·Baton(SB) // Wait for setgid completion loop: SYNC MOVW ·Baton(SB), R3 CMP R3, $0 // Hint that we're in a spin loop OR R1, R1, R1 BNE loop ISYNC // Restore stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 668 bytes - Viewed (0) -
src/syscall/exec_bsd.go
Chroot string // Chroot. Credential *Credential // Credential. Ptrace bool // Enable tracing. Setsid bool // Create session. // Setpgid sets the process group ID of the child to Pgid, // or, if Pgid == 0, to the new child's process ID. Setpgid bool // Setctty sets the controlling terminal of the child to // file descriptor Ctty. Ctty must be a descriptor number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_mips64x.s
// Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADDV $(1024*8), R29 // Ask signaller to setgid MOVW $1, R1 SYNC MOVW R1, ·Baton(SB) SYNC // Wait for setgid completion loop: SYNC MOVW ·Baton(SB), R1 OR R2, R2, R2 // hint that we're in a spin loop BNE R1, loop SYNC // Restore stack ADDV $(-1024*8), R29
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 691 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_arm.s
// will clobber the test pattern created by the caller ADD $(1024 * 8), R13 // Ask signaller to setgid MOVW $·Baton(SB), R2 storeloop: MOVW 0(R2), R0 MOVW $1, R1 BL cas<>(SB) BCC storeloop // Wait for setgid completion loop: MOVW $0, R0 MOVW $0, R1 BL cas<>(SB) BCC loop // Restore stack SUB $(1024 * 8), R13 MOVW R4, R14
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 758 bytes - Viewed (0) -
src/syscall/exec_freebsd.go
Chroot string // Chroot. Credential *Credential // Credential. Ptrace bool // Enable tracing. Setsid bool // Create session. // Setpgid sets the process group ID of the child to Pgid, // or, if Pgid == 0, to the new child's process ID. Setpgid bool // Setctty sets the controlling terminal of the child to // file descriptor Ctty. Ctty must be a descriptor number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_riscv64.s
// Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADD $(1024*8), X2 // Ask signaller to setgid MOV $1, X5 FENCE MOVW X5, ·Baton(SB) FENCE // Wait for setgid completion loop: FENCE MOVW ·Baton(SB), X5 OR X6, X6, X6 // hint that we're in a spin loop BNE ZERO, X5, loop FENCE // Restore stack ADD $(-1024*8), X2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 659 bytes - Viewed (0)