Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 502 for setgroups (0.14 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/plugins/HelpTasksPlugin.java

                task.setGroup(HELP_GROUP);
                task.setImpliesSubProjects(true);
                task.getShowAll().convention(false);
            });
            tasks.register(RESOLVABLE_CONFIGURATIONS_TASK, ResolvableConfigurationsReportTask.class, task -> {
                task.setDescription("Displays the configurations that can be resolved in " + projectName + ".");
                task.setGroup(HELP_GROUP);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 16:15:23 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. src/syscall/exec_libc.go

    	if cred = sys.Credential; cred != nil {
    		ngroups = uintptr(len(cred.Groups))
    		groups = uintptr(0)
    		if ngroups > 0 {
    			groups = uintptr(unsafe.Pointer(&cred.Groups[0]))
    		}
    		if !cred.NoSetGroups {
    			err1 = setgroups1(ngroups, groups)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    		err1 = setgid(uintptr(cred.Gid))
    		if err1 != 0 {
    			goto childerror
    		}
    		err1 = setuid(uintptr(cred.Uid))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. src/os/proc.go

    func Getegid() int { return syscall.Getegid() }
    
    // Getgroups returns a list of the numeric ids of groups that the caller belongs to.
    //
    // 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)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/LifecycleBasePlugin.java

                assembleTask.setDescription("Assembles the outputs of this project.");
                assembleTask.setGroup(BUILD_GROUP);
            });
        }
    
        private void addCheck(Project project) {
            project.getTasks().register(CHECK_TASK_NAME, checkTask -> {
                checkTask.setDescription("Runs all checks.");
                checkTask.setGroup(VERIFICATION_GROUP);
            });
        }
    
        private void addBuild(final Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/os/os_unix_test.go

    		t.Skip("file ownership not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	// Use TempDir() to make sure we're on a local file system,
    	// so that the group ids returned by Getgroups will be allowed
    	// on the file. On NFS, the Getgroups groups are
    	// basically useless.
    	f := newFile("TestChown", t)
    	defer Remove(f.Name())
    	defer f.Close()
    	dir, err := f.Stat()
    	if err != nil {
    		t.Fatalf("stat %s: %s", f.Name(), err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/user/user.go

    	// GetUID returns a unique value for a particular user that will change
    	// if the user is removed from the system and another user is added with
    	// the same name.
    	GetUID() string
    	// GetGroups returns the names of the groups the user is a member of
    	GetGroups() []string
    
    	// GetExtra can contain any additional information that the authenticator
    	// thought was interesting.  One example would be scopes on a token.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 24 16:21:55 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/request/anonymous/anonymous_test.go

    	}
    	if r.User.GetName() != user.Anonymous {
    		t.Fatalf("Expected username %s, got %s", user.Anonymous, r.User.GetName())
    	}
    	if !sets.NewString(r.User.GetGroups()...).Equal(sets.NewString(user.AllUnauthenticated)) {
    		t.Fatalf("Expected group %s, got %v", user.AllUnauthenticated, r.User.GetGroups())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 26 22:33:54 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder_test.go

    				return response, true, nil
    			}),
    			[]string{"added"},
    		),
    	)
    
    	r, _, _ := adder.AuthenticateToken(context.Background(), "")
    	if !reflect.DeepEqual(r.User.GetGroups(), []string{"original", "added"}) {
    		t.Errorf("Expected original,added groups, got %#v", r.User.GetGroups())
    	}
    
    	if got := toJson(response); got != orig {
    		t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            exclusion.setGroupId("*");
            exclusion.setArtifactId("maven-core");
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion));
    
            assertThat(filter.include(artifact), is(false));
        }
    
        @Test
        void testExcludeGroupIdWildcardNoMatch() {
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("*");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Aug 29 15:25:58 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. api/go1.9.txt

    pkg syscall (netbsd-386), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-amd64-cgo), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-amd64), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-arm-cgo), type Credential struct, NoSetGroups bool
    pkg syscall (netbsd-arm), type Credential struct, NoSetGroups bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top