Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 320 for getppid (0.27 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func Getpgid(pid int) (pgid int, err error) {
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPGID<<4, uintptr(pid))
    	pgid = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getppid() (pid int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  2. src/os/proc.go

    }
    
    func runtime_args() []string // in package runtime
    
    // Getuid returns the numeric user id of the caller.
    //
    // On Windows, it returns -1.
    func Getuid() int { return syscall.Getuid() }
    
    // Geteuid returns the numeric effective user id of the caller.
    //
    // On Windows, it returns -1.
    func Geteuid() int { return syscall.Geteuid() }
    
    // Getgid returns the numeric group id of the caller.
    //
    // On Windows, it returns -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/runtime/security_aix.go

    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = !(getuid() == geteuid() && getgid() == getegid())
    }
    
    func isSecureMode() bool {
    	return secureMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 449 bytes
    - Viewed (0)
  4. src/runtime/os_aix.go

    }
    
    //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 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/util/procfs/procfs_linux_test.go

    	}
    
    	re, err := regexp.Compile("(^|/)" + filepath.Base(os.Args[0]) + "$")
    	assert.Empty(b, err)
    
    	for i := 0; i < b.N; i++ {
    		pids := getPids(re)
    
    		b.StopTimer()
    		assert.NotZero(b, pids)
    		assert.Contains(b, pids, os.Getpid())
    		b.StartTimer()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_UGETRLIMIT
    //sysnb	Getuid() (uid int)
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/os/signal/signal_plan9_test.go

    	defer Stop(c)
    
    	// Send this process a hangup
    	t.Logf("hangup...")
    	postNote(syscall.Getpid(), "hangup")
    	waitSig(t, c, syscall.Note("hangup"))
    
    	// Ask for everything we can get.
    	c1 := make(chan os.Signal, 1)
    	Notify(c1)
    
    	// Send this process an alarm
    	t.Logf("alarm...")
    	postNote(syscall.Getpid(), "alarm")
    	waitSig(t, c1, syscall.Note("alarm"))
    
    	// Send two more hangups, to make sure that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonStartupInfo.java

            this.uid = uid;
            this.address = address;
            this.diagnostics = diagnostics;
        }
    
        public String getUid() {
            return uid;
        }
    
        public Address getAddress() {
            return address;
        }
    
        public @Nullable Long getPid() {
            return diagnostics.getPid();
        }
    
        /**
         * @return the diagnostics
         */
        public DaemonDiagnostics getDiagnostics() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/os/exec/read3.go

    		var args []string
    		switch runtime.GOOS {
    		case "plan9":
    			args = []string{fmt.Sprintf("/proc/%d/fd", os.Getpid())}
    		case "aix", "solaris", "illumos":
    			args = []string{fmt.Sprint(os.Getpid())}
    		default:
    			args = []string{"-p", fmt.Sprint(os.Getpid())}
    		}
    
    		// Determine which command to use to display open files.
    		ofcmd := "lsof"
    		switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top