Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for Setsid (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/syscall/syscall_js.go

    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	return string(buf[:n]), nil
    }
    
    func Getuid() int {
    	return jsProcess.Call("getuid").Int()
    }
    
    func Getgid() int {
    	return jsProcess.Call("getgid").Int()
    }
    
    func Geteuid() int {
    	return jsProcess.Call("geteuid").Int()
    }
    
    func Getegid() int {
    	return jsProcess.Call("getegid").Int()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    		return "wasip1", nil
    	}
    	return "", ENOSYS
    }
    
    func Getuid() int {
    	return 1
    }
    
    func Getgid() int {
    	return 1
    }
    
    func Geteuid() int {
    	return 1
    }
    
    func Getegid() int {
    	return 1
    }
    
    func Getgroups() ([]int, error) {
    	return []int{1}, nil
    }
    
    func Getpid() int {
    	return 3
    }
    
    func Getppid() int {
    	return 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_amd64.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)
    //sysnb	Getuid() (uid int)
    //sysnb	InotifyInit() (fd int, err error)
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    //sys	Listen(s int, n int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K 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/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)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                        th.getConfig().getListSize() - FIND_OVERHEAD),
                    this.response);
    
                this.nextRequest = new Trans2FindNext2(
                    th.getConfig(),
                    this.response.getSid(),
                    this.response.getResumeKey(),
                    this.response.getLastName(),
                    th.getConfig().getListCount(),
                    th.getConfig().getListSize() - FIND_OVERHEAD);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

            auto aliases = llvm::to_vector<4>(analysis.GetResourceAliases(value));
            llvm::sort(aliases,
                       [&](Value v1, Value v2) { return get_id(v1) < get_id(v2); });
            llvm::interleaveComma(aliases, diag,
                                  [&](Value v) { diag << get_id(v); });
          }
        };
    
        // Assign a unique ID to each value seen in this function.
        func.walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top