- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 168 for Getgid (0.13 sec)
-
src/runtime/testdata/testprogcgo/segv_linux.go
register("TgkillSegvInCgo", TgkillSegvInCgo) } func TgkillSegvInCgo() { c := make(chan bool) go func() { close(c) for { C.nop() } }() <-c syscall.Tgkill(syscall.Getpid(), syscall.Gettid(), syscall.SIGSEGV) // Wait for the OS to deliver the signal. C.pause()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 05 15:24:08 UTC 2023 - 546 bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java
package org.gradle.launcher.daemon.context; import org.gradle.internal.remote.Address; /** * Data to identify and connect to a daemon. */ public interface DaemonConnectDetails { String getUid(); Long getPid(); Address getAddress(); byte[] getToken();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 893 bytes - Viewed (0) -
src/runtime/syscall_aix.go
//go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setpgid setpgid "libc.a/shr_64.o" //go:linkname libc_chdir libc_chdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/runtime_linux_test.go
// we can't test that it does anything. // Instead we're testing that the conditions are good // for how it is used in init (must be on main thread). pid, tid = syscall.Getpid(), syscall.Gettid() LockOSThread() sysNanosleep = func(d time.Duration) { // Invoke a blocking syscall directly; calling time.Sleep() // would deschedule the goroutine instead.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:20:01 UTC 2023 - 1.8K bytes - Viewed (0) -
src/syscall/exec_libc.go
func forkx(flags uintptr) (pid uintptr, err Errno) func getpid() (pid uintptr, err Errno) func ioctl(fd uintptr, req uintptr, arg uintptr) (err Errno) func setgid(gid uintptr) (err Errno) func setgroups1(ngid uintptr, gid uintptr) (err Errno) func setrlimit1(which uintptr, lim unsafe.Pointer) (err Errno) func setsid() (pid uintptr, err Errno) func setuid(uid uintptr) (err Errno) func setpgid(pid uintptr, pgid uintptr) (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) -
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/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/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) -
src/cmd/cgo/internal/test/setgid2_linux.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Stress test setgid and thread creation. A thread // can get a SIGSETXID signal early on at thread // initialization, causing crash. See issue 53374. package cgotest /* #include <sys/types.h> #include <unistd.h> */ import "C" import ( "runtime" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 681 bytes - Viewed (0)