- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for GetGroups (0.17 sec)
-
src/syscall/zsyscall_openbsd_386.go
func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, _, e1 := rawSyscall(abi.FuncPCABI0(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } func libc_getgroups_trampoline() //go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.6K bytes - Viewed (0) -
pkg/workloadapi/security/authorization.pb.go
return x.Scope } return Scope_GLOBAL } func (x *Authorization) GetAction() Action { if x != nil { return x.Action } return Action_ALLOW } func (x *Authorization) GetGroups() []*Group { if x != nil { return x.Groups } return nil } type Group struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
if testCase.ExpectOK { if testCase.ExpectUserName != resp.User.GetName() { t.Errorf("%s: Expected user.name=%v, got %v", k, testCase.ExpectUserName, resp.User.GetName()) } groups := resp.User.GetGroups() sort.Strings(testCase.ExpectGroups) sort.Strings(groups) if !reflect.DeepEqual(testCase.ExpectGroups, groups) { t.Errorf("%s: Expected user.groups=%v, got %v", k, testCase.ExpectGroups, groups) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
waypointPolicy := s.authorizationPolicies.GetKey(krt.Key[model.WorkloadAuthorization](policyName)) if waypointPolicy == nil { return nil } match := waypointPolicy.Authorization.GetGroups()[0].GetRules()[0].GetMatches()[0] return slices.Map(match.Principals, func(sm *security.StringMatch) string { return sm.GetExact() }) }, []string{ "cluster.local/ns/ns1/sa/namespace-wide",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go
func getgroups(n int, list *_Gid_t) (nn int, err error) { r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETGROUPS<<4, uintptr(n), uintptr(unsafe.Pointer(list))) nn = int(r0) if int64(r0) == -1 { err = errnoErr2(e1, e2) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setgroups(n int, list *_Gid_t) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 88.2K bytes - Viewed (0) -
src/syscall/exec_linux.go
uidmap = formatIDMappings(sys.UidMappings) } if sys.GidMappings != nil { psetgroups = []byte("/proc/self/setgroups\000") pgid = []byte("/proc/self/gid_map\000") if sys.GidMappingsEnableSetgroups { setgroups = []byte("allow\000") } else { setgroups = []byte("deny\000") } gidmap = formatIDMappings(sys.GidMappings) } // Record parent PID so child can test if it has died.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
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) -
src/syscall/syscall_linux_test.go
{call: "Setgroups([]int{0,1,2,3})", fn: func() error { return syscall.Setgroups([]int{0, 1, 2, 3}) }, filter: "Groups:", expect: "\t0 1 2 3"}, {call: "Setgroups(nil)", fn: func() error { return syscall.Setgroups(nil) }, filter: "Groups:", expect: ""}, {call: "Setgroups([]int{0})", fn: func() error { return syscall.Setgroups([]int{0}) }, filter: "Groups:", expect: "\t0"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt
Method <org.gradle.external.javadoc.StandardJavadocDocletOptions.getGroups()> does not have raw return type assignable to org.gradle.api.provider.Property in (StandardJavadocDocletOptions.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 160.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
setThreadPoolFactoryClass(testNg, spec.getThreadPoolFactoryClass()); } testNg.setUseDefaultListeners(spec.getUseDefaultListeners()); testNg.setVerbose(0); testNg.setGroups(CollectionUtils.join(",", spec.getIncludeGroups())); testNg.setExcludedGroups(CollectionUtils.join(",", spec.getExcludeGroups())); // Adding custom test listeners before Gradle's listeners.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0)