Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 356 for setgroups1 (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/group/authenticated_group_adder.go

    	}
    
    	if r.User.GetName() == user.Anonymous {
    		return r, true, nil
    	}
    	for _, group := range r.User.GetGroups() {
    		if group == user.AllAuthenticated || group == user.AllUnauthenticated {
    			return r, true, nil
    		}
    	}
    
    	newGroups := make([]string, 0, len(r.User.GetGroups())+1)
    	newGroups = append(newGroups, r.User.GetGroups()...)
    	newGroups = append(newGroups, user.AllAuthenticated)
    
    	ret := *r // shallow copy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/plugins/MavenPublishPlugin.java

            tasks.register(PUBLISH_LOCAL_LIFECYCLE_TASK_NAME, publish -> {
                publish.setDescription("Publishes all Maven publications produced by this project to the local Maven cache.");
                publish.setGroup(PublishingPlugin.PUBLISH_TASK_GROUP);
            });
    
            project.getExtensions().configure(PublishingExtension.class, extension -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/syscall/exec_linux_test.go

    		},
    		GidMappingsEnableSetgroups: setgroups,
    	}
    	return cmd
    }
    
    func TestCloneNEWUSERAndRemap(t *testing.T) {
    	for _, setgroups := range []bool{false, true} {
    		setgroups := setgroups
    		t.Run(fmt.Sprintf("setgroups=%v", setgroups), func(t *testing.T) {
    			uid := os.Getuid()
    			gid := os.Getgid()
    
    			cmd := whoamiNEWUSER(t, uid, gid, setgroups)
    			out, err := cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	manager1 := discoveryendpoint.NewResourceManager("apis")
    	manager2 := discoveryendpoint.NewResourceManager("apis")
    
    	apis := fuzzAPIGroups(1, 3, 11)
    	manager1.SetGroups(apis.Items)
    	manager2.SetGroups(apis.Items)
    
    	// Make sure etag of each is the same
    	res1_initial, _, _ := fetchPath(manager1, "application/json", discoveryPath, "")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModel.java

        public void build() {
            groups = TreeMultimap.create(String::compareToIgnoreCase, Comparator.comparing(TaskDetails::getPath));
            for (TaskReportModel project : projects) {
                for (String group : project.getGroups()) {
                    if (isVisible(group)) {
                        for (final TaskDetails task : project.getTasksForGroup(group)) {
                            groups.put(group, mergeTasksWithSameName ? mergedTaskDetails(task) : task);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            setGroupId(plugin.getGroupId());
            setArtifactId(plugin.getArtifactId());
    
            setRepositorySession(session);
    
            setRepositories(repositories);
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public DefaultPluginVersionRequest setGroupId(String groupId) {
            this.groupId = groupId;
    
            return this;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top