Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 364 for Setsid (0.21 sec)

  1. 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)
  2. api/go1.txt

    pkg os, func Getegid() int
    pkg os, func Getenv(string) string
    pkg os, func Geteuid() int
    pkg os, func Getgid() int
    pkg os, func Getgroups() ([]int, error)
    pkg os, func Getpagesize() int
    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  3. 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)
  4. src/syscall/creds_test.go

    			}
    			switch err {
    			case syscall.EPERM, syscall.EINVAL:
    			default:
    				t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err)
    			}
    		}
    
    		ucred.Pid = int32(os.Getpid())
    		ucred.Uid = uint32(os.Getuid())
    		ucred.Gid = uint32(os.Getgid())
    		oob := syscall.UnixCredentials(&ucred)
    
    		// On SOCK_STREAM, this is internally going to send a dummy byte
    		n, oobn, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
                this.andx.setUseUnicode(this.isUseUnicode());
    
                if ( this.andx instanceof AndXServerMessageBlock ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  6. 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)
  7. pkg/ctrlz/topics/proc.go

    	Goroutines int    `json:"goroutines"`
    }
    
    func getProcInfo() *procInfo {
    	pi := procInfo{
    		Egid:       os.Getegid(),
    		Euid:       os.Geteuid(),
    		GID:        os.Getgid(),
    		Pid:        os.Getpid(),
    		Ppid:       os.Getppid(),
    		UID:        os.Getuid(),
    		TempDir:    os.TempDir(),
    		Goroutines: runtime.NumGoroutine(),
    	}
    
    	pi.Groups, _ = os.Getgroups()
    	pi.Wd, _ = os.Hostname()
    	pi.Hostname, _ = os.Hostname()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/runtime/os_aix.go

    //go:nosplit
    func runPerThreadSyscall() {
    	throw("runPerThreadSyscall only valid on linux")
    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    	*tv = NsecToTimeval(nsec)
    	return nil
    }
    
    func Getpagesize() int { return 0x1000 }
    
    func Getegid() (egid int) { return -1 }
    func Geteuid() (euid int) { return -1 }
    func Getgid() (gid int)   { return -1 }
    func Getuid() (uid int)   { return -1 }
    
    func Getgroups() (gids []int, err error) {
    	return make([]int, 0), nil
    }
    
    //sys	open(path string, mode int) (fd int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            failure.assertHasDescription(DaemonDisappearedException.MESSAGE)
    
            and:
            daemons.daemon.stops()
        }
    
        String getSid(Long pid) {
            return file("getSid/build/install/getSid/lib/getSid").exec(pid as String).out.trim()
        }
    
        String getConsole(Long pid) {
            return file("attachConsole/build/install/attachConsole/attachConsole.bat").exec(pid as String).out.trim()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top