Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for getgid (0.09 sec)

  1. src/os/types.go

    	ModeNamedPipe  = fs.ModeNamedPipe  // p: named pipe (FIFO)
    	ModeSocket     = fs.ModeSocket     // S: Unix domain socket
    	ModeSetuid     = fs.ModeSetuid     // u: setuid
    	ModeSetgid     = fs.ModeSetgid     // g: setgid
    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                uid, javaHome, javaVersion, daemonRegistryDir, pid, idleTimeout, priority, applyInstrumentationAgent, nativeServicesMode, Joiner.on(',').join(daemonOpts));
        }
    
        @Override
        public String getUid() {
            return uid;
        }
    
        @Override
        public File getJavaHome() {
            return javaHome;
        }
    
        @Override
        public JavaLanguageVersion getJavaVersion() {
            return javaVersion;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/os/read_test.go

    		t.Fatalf("ReadFile %s: %v", f.Name(), err)
    	}
    
    	if string(data) != msg {
    		t.Fatalf("ReadFile: wrong data:\nhave %q\nwant %q", string(data), msg)
    	}
    }
    
    func TestReadOnlyWriteFile(t *testing.T) {
    	if Getuid() == 0 {
    		t.Skipf("Root can write to read-only files anyway, so skip the read-only test.")
    	}
    	if runtime.GOOS == "wasip1" {
    		t.Skip("no support for file permissions on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/net/http/cgi/cgi_main.go

    	}
    
    	params := req.Form
    	if params.Get("loc") != "" {
    		fmt.Printf("Location: %s\r\n\r\n", params.Get("loc"))
    		return
    	}
    
    	fmt.Printf("Content-Type: text/html\r\n")
    	fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid())
    	fmt.Printf("X-Test-Header: X-Test-Value\r\n")
    	fmt.Printf("\r\n")
    
    	if params.Get("writestderr") != "" {
    		fmt.Fprintf(os.Stderr, "Hello, stderr!\n")
    	}
    
    	if params.Get("bigresponse") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/os/pidfd_linux.go

    // seccomp or a similar technology.
    func checkPidfd() error {
    	// Get a pidfd of the current process (opening of "/proc/self" won't
    	// work for waitid).
    	fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
    	if err != nil {
    		return NewSyscallError("pidfd_open", err)
    	}
    	defer syscall.Close(int(fd))
    
    	// Check waitid(P_PIDFD) works.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/os/user/cgo_lookup_unix.go

    package user
    
    import (
    	"fmt"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cluster/addons/dns/kube-dns/kube-dns.yaml.base

              mountPath: /etc/k8s/dns/dnsmasq-nanny
            securityContext:
              capabilities:
                drop:
                  - all
                add:
                  - NET_BIND_SERVICE
                  - SETGID
          - name: sidecar
            image: registry.k8s.io/dns/k8s-dns-sidecar:1.23.1
            livenessProbe:
              httpGet:
                path: /metrics
                port: 10054
                scheme: HTTP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	if progVers == "(devel)" { // avoid special characters in created file names
    		progVers = "devel"
    	}
    	logBase := strings.ReplaceAll(
    		fmt.Sprintf("%s-%s-%s-%4d%02d%02d-%d.log", prog, progVers, goVers, year, month, day, os.Getpid()),
    		" ", "")
    	fname := filepath.Join(debugDir, logBase)
    	if _, err := os.Stat(fname); err == nil {
    		// This process previously called upload.Run
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/runtime/pprof/vminfo_darwin_test.go

    		}
    		if !retryable {
    			return 0, 0, err
    		}
    		t.Logf("retrying vmmap after error: %v", err)
    	}
    }
    
    func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) {
    	pid := strconv.Itoa(os.Getpid())
    	testenv.MustHaveExecPath(t, "vmmap")
    	cmd := testenv.Command(t, "vmmap", pid)
    	out, cmdErr := cmd.Output()
    	if cmdErr != nil {
    		t.Logf("vmmap output: %s", out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/os/path_windows_test.go

    		}
    		dir.Close()
    	}
    }
    
    func testMkdirAllAtRoot(t *testing.T, root string) {
    	// Create a unique-enough directory name in root.
    	base := fmt.Sprintf("%s-%d", t.Name(), os.Getpid())
    	path := filepath.Join(root, base)
    	if err := os.MkdirAll(path, 0777); err != nil {
    		t.Fatalf("MkdirAll(%q) failed: %v", path, err)
    	}
    	// Clean up
    	if err := os.RemoveAll(path); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top