Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GIDMappings (0.38 sec)

  1. pkg/kubelet/userns/userns_manager.go

    type userNamespace struct {
    	// UIDs mappings for the user namespace.
    	UIDMappings []idMapping `json:"uidMappings"`
    	// GIDs mappings for the user namespace.
    	GIDMappings []idMapping `json:"gidMappings"`
    }
    
    // Pod user namespace mapping
    type idMapping struct {
    	// Required.
    	HostId uint32 `json:"hostId"`
    	// Required.
    	ContainerId uint32 `json:"containerId"`
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager_test.go

    	                        "gidMappings":[ { "hostId":131072, "containerId":0, "length":65536 } ]
                                   }`,
    			success: true,
    		},
    		{
    			name: "invalid length",
    			file: `{
    	                        "uidMappings":[ { "hostId":131072, "containerId":0, "length":0 } ],
    	                        "gidMappings":[ { "hostId":131072, "containerId":0, "length":0 } ]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/syscall/exec_linux.go

    	UidMappings  []SysProcIDMap // User ID mappings for user namespaces.
    	GidMappings  []SysProcIDMap // Group ID mappings for user namespaces.
    	// GidMappingsEnableSetgroups enabling setgroups syscall.
    	// If false, then setgroups syscall will be disabled for the child process.
    	// This parameter is no-op if GidMappings == nil. Otherwise for unprivileged
    	// users this should be set to false for mappings work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. api/go1.4.txt

    pkg syscall (linux-arm), type SysProcAttr struct, UidMappings []SysProcIDMap
    pkg syscall (linux-arm), type SysProcIDMap struct
    pkg syscall (linux-arm), type SysProcIDMap struct, ContainerID int
    pkg syscall (linux-arm), type SysProcIDMap struct, HostID int
    pkg syscall (linux-arm), type SysProcIDMap struct, Size int
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, GidMappings []SysProcIDMap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  5. src/syscall/exec_linux_test.go

    	cmd := testenv.Command(t, "whoami")
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Cloneflags: syscall.CLONE_NEWUSER,
    		UidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: uid, Size: 1},
    		},
    		GidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: gid, Size: 1},
    		},
    		GidMappingsEnableSetgroups: setgroups,
    	}
    	return cmd
    }
    
    func TestCloneNEWUSERAndRemap(t *testing.T) {
    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. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if cl.SecurityContext.NamespaceOptions.UsernsOptions != nil {
    			for _, mount := range config.Mounts {
    				mount.UidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Uids
    				mount.GidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Gids
    			}
    		}
    	}
    	return nil
    }
    
    // generateLinuxContainerConfig generates linux container config for kubelet runtime v1.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SysProcAttr.CreationFlags", Field, 1},
    		{"SysProcAttr.Credential", Field, 0},
    		{"SysProcAttr.Ctty", Field, 1},
    		{"SysProcAttr.Foreground", Field, 5},
    		{"SysProcAttr.GidMappings", Field, 4},
    		{"SysProcAttr.GidMappingsEnableSetgroups", Field, 5},
    		{"SysProcAttr.HideWindow", Field, 0},
    		{"SysProcAttr.Jail", Field, 21},
    		{"SysProcAttr.NoInheritHandles", Field, 16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top