Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for gidsC (0.04 sec)

  1. src/os/user/listgroups_unix_test.go

    	// input
    	in   string
    	user string
    	gid  string
    	// output
    	gids []string
    	err  bool
    }{
    	{in: testGroupFile, user: "root", gid: "0", gids: []string{"0", "1", "2", "7"}},
    	{in: testGroupFile, user: "jill", gid: "33", gids: []string{"33", "777"}},
    	{in: testGroupFile, user: "jody", gid: "34", gids: []string{"34", "777"}},
    	{in: testGroupFile, user: "john", gid: "35", gids: []string{"35", "777"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/syscall/syscall_bsd.go

    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    // 0x7F (stopped), or a signal number that caused an exit.
    // The 0x80 bit is whether there was a core dump.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. pkg/kubelet/userns/userns_manager.go

    			return nil, err
    		}
    	}
    
    	var uids []*runtimeapi.IDMapping
    	var gids []*runtimeapi.IDMapping
    
    	for _, u := range userNs.UIDMappings {
    		uids = append(uids, &runtimeapi.IDMapping{
    			HostId:      u.HostId,
    			ContainerId: u.ContainerId,
    			Length:      u.Length,
    		})
    	}
    	for _, g := range userNs.GIDMappings {
    		gids = append(gids, &runtimeapi.IDMapping{
    			HostId:      g.HostId,
    			ContainerId: g.ContainerId,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. src/syscall/syscall_aix.go

    	n, err = getgroups(n, &a[0])
    	if err != nil {
    		return nil, err
    	}
    	gids = make([]int, n)
    	for i, v := range a[0:n] {
    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/users/users_linux.go

    // and assigns UIDs and GIDs to the users and groups to be created based on a list of provided UIDs and GIDs.
    // Returns an error if not enough UIDs or GIDs are passed. It does not perform any other validation.
    func assignUserAndGroupIDs(groups, usersToCreate, groupsToCreate []*entry, uids, gids []int64) error {
    	if len(gids) < len(groupsToCreate) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  7. src/os/proc.go

    //
    // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package
    // for a possible alternative.
    func Getgroups() ([]int, error) {
    	gids, e := syscall.Getgroups()
    	return gids, NewSyscallError("getgroups", e)
    }
    
    // Exit causes the current program to exit with the given status code.
    // Conventionally, code zero indicates success, non-zero an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXObject.java

         */
        public void serializeInto(@SuppressWarnings("unused") XcodeprojSerializer serializer) {
        }
    
        /**
         * This method is used to generate stable GIDs and must be stable for identical contents.
         * Returning a constant value is ok but will make the generated project order-dependent.
         */
        public int stableHash() {
            return 0;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    	n, err = getgroups(n, &a[0])
    	if err != nil {
    		return nil, err
    	}
    	gids = make([]int, n)
    	for i, v := range a[0:n] {
    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. src/syscall/syscall_solaris.go

    	n, err = getgroups(n, &a[0])
    	if err != nil {
    		return nil, err
    	}
    	gids = make([]int, n)
    	for i, v := range a[0:n] {
    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top