- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for gids (0.09 sec)
-
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,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
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) -
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) -
src/syscall/syscall_linux.go
} return EACCES } var fmode uint32 if uint32(uid) == st.Uid { fmode = (st.Mode >> 6) & 7 } else { var gid int if flags&_AT_EACCESS != 0 { gid = Getegid() } else { gid = Getgid() } if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) { fmode = (st.Mode >> 3) & 7 } else { fmode = st.Mode & 7 } } if fmode&mode == mode { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
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) -
common-protos/k8s.io/api/policy/v1beta1/generated.proto
message RunAsGroupStrategyOptions { // rule is the strategy that will dictate the allowable RunAsGroup values that may be set. optional string rule = 1; // ranges are the allowed ranges of gids that may be used. If you would like to force a single gid // then supply a single range with the same start and end. Required for MustRunAs. // +optional repeated IDRange ranges = 2; }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
// array and then call "f" on it. for pidx, p := range mm.pkgs { fids := make([]int, 0, len(p.ctab)) for fid := range p.ctab { fids = append(fids, int(fid)) } sort.Ints(fids) if *verbflag >= 4 { fmt.Printf("fids for pk=%d: %+v\n", pidx, fids) } for _, fid := range fids { fp := p.ctab[uint32(fid)] if *verbflag >= 4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
operator/cmd/mesh/uninstall.go
rmListString) } if len(pids) != 0 && rev != "" { needConfirmation = true message += fmt.Sprintf("There are still %d proxies pointing to the control plane revision %s\n", len(pids), rev) // just print the count only if there is a large list of proxies if len(pids) <= 30 { message += fmt.Sprintf("%s\n", strings.Join(pids, "\n")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/registry/batch/cronjob/strategy_test.go
if len(errs) == 0 { t.Errorf("Expected a validation error") } // Make sure we correctly implement the interface. // Otherwise a typo could silently change the default. var gcds rest.GarbageCollectionDeleteStrategy = Strategy if got, want := gcds.DefaultGarbageCollectionPolicy(genericapirequest.NewContext()), rest.DeleteDependents; got != want { t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want) } var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 12.2K bytes - Viewed (0) -
cmd/local-locker.go
lris, ok := l.lockMap[resource] if !ok { continue } // Collect uids, so we don't mutate while we delete uids := make([]string, 0, len(lris)) for _, lri := range lris { uids = append(uids, lri.UID) } // Delete collected uids: for _, uid := range uids { lris, ok := l.lockMap[resource] if !ok { // Just to be safe, delete uuids.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 10.6K bytes - Viewed (0)