Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Gid (0.2 sec)

  1. src/os/user/cgo_lookup_unix.go

    		return nil, fmt.Errorf("user: lookup groupname %s: %v", groupname, err)
    	}
    	return buildGroup(&grp), nil
    }
    
    func lookupGroupId(gid string) (*Group, error) {
    	i, e := strconv.Atoi(gid)
    	if e != nil {
    		return nil, e
    	}
    	return lookupUnixGid(i)
    }
    
    func lookupUnixGid(gid int) (*Group, error) {
    	var grp _C_struct_group
    	var found bool
    
    	err := retryWithBuffer(groupBuffer, func(buf []byte) syscall.Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/os/exec_posix.go

    	Kill      Signal = syscall.SIGKILL
    )
    
    func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
    	// If there is no SysProcAttr (ie. no Chroot or changed
    	// UID/GID), double-check existence of the directory we want
    	// to chdir into. We can make the error clearer this way.
    	if attr != nil && attr.Sys == nil && attr.Dir != "" {
    		if _, err := Stat(attr.Dir); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top