Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for getgid (0.31 sec)

  1. pkg/istio-agent/agent.go

    	// will break due to permission errors if we start envoy as 1337.
    	// This is a mode used for permission-less docker, where iptables can't be
    	// used.
    	a.envoyOpts.AgentIsRoot = os.Getuid() == 0 && strings.HasSuffix(a.cfg.DNSAddr, ":53")
    
    	envoyProxy := envoy.NewProxy(a.envoyOpts)
    
    	drainDuration := a.proxyConfig.TerminationDrainDuration.AsDuration()
    	localHostAddr := localHostIPv4
    	if a.cfg.IsIPv6 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    	}
    }
    
    func TestNetworkSymbolicLink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	const _NERR_ServerNotStarted = syscall.Errno(2114)
    
    	dir := t.TempDir()
    	chdir(t, dir)
    
    	pid := os.Getpid()
    	shareName := fmt.Sprintf("GoSymbolicLinkTestShare%d", pid)
    	sharePath := filepath.Join(dir, shareName)
    	testDir := "TestDir"
    
    	err := os.MkdirAll(filepath.Join(sharePath, testDir), 0777)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/net/http/fs_test.go

    	if err := testenv.Command(t, "strace", "-f", "-q", os.Args[0], "-test.run=^$").Run(); err != nil {
    		t.Skipf("skipping; failed to run strace: %v", err)
    	}
    
    	filename := fmt.Sprintf("1kb-%d", os.Getpid())
    	filepath := path.Join(os.TempDir(), filename)
    
    	if err := os.WriteFile(filepath, bytes.Repeat([]byte{'a'}, 1<<10), 0755); err != nil {
    		t.Fatal(err)
    	}
    	defer os.Remove(filepath)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    			fatalf("unknown test %q", name)
    		}
    	}
    
    	// On a few builders, make GOROOT unwritable to catch tests writing to it.
    	if strings.HasPrefix(os.Getenv("GO_BUILDER_NAME"), "linux-") {
    		if os.Getuid() == 0 {
    			// Don't bother making GOROOT unwritable:
    			// we're running as root, so permissions would have no effect.
    		} else {
    			xatexit(t.makeGOROOTUnwritable())
    		}
    	}
    
    	if !t.json {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	t.Helper()
    	uids := sets.New[string]()
    	workloads := s.lookup("")
    	for _, wl := range workloads {
    		if wl.GetWorkload() != nil && uids.InsertContains(wl.GetWorkload().GetUid()) {
    			t.Fatal("Index has workloads with the same UID")
    		}
    	}
    }
    
    func (s *ambientTestServer) deletePolicy(name, ns string, kind config.GroupVersionKind,
    ) {
    	switch kind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.pb.go

    }
    
    // Deprecated: Use Workload.ProtoReflect.Descriptor instead.
    func (*Workload) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{3}
    }
    
    func (x *Workload) GetUid() string {
    	if x != nil {
    		return x.Uid
    	}
    	return ""
    }
    
    func (x *Workload) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. src/os/os_test.go

    			select {
    			case <-done:
    				return
    			case <-hold:
    			}
    			// Getwd might be wrong
    			f0, err := Stat(".")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			pwd, err := Getwd()
    			if err != nil {
    				t.Errorf("Getwd: %v", err)
    				return
    			}
    			if pwd != d {
    				t.Errorf("Getwd() = %q, want %q", pwd, d)
    				return
    			}
    			f1, err := Stat(pwd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      // Some volume types allow the Kubelet to change the ownership of that volume
      // to be owned by the pod:
      //
      // 1. The owning GID will be the FSGroup
      // 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
      // 3. The permission bits are OR'd with rw-rw----
      //
      // If unset, the Kubelet will not modify the ownership and permissions of any volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__apps__v1_openapi.json

                "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
Back to top