Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for setpgid (0.23 sec)

  1. src/cmd/cgo/internal/test/issue9400_linux.go

    	atomic.StoreInt32(&issue9400.Baton, 0)
    	go func() {
    		// Wait for RewindAndSetgid
    		for atomic.LoadInt32(&issue9400.Baton) == 0 {
    			runtime.Gosched()
    		}
    		// Broadcast SIGSETXID
    		runtime.LockOSThread()
    		C.setgid(0)
    		// Indicate that signalling is done
    		atomic.StoreInt32(&issue9400.Baton, 0)
    	}()
    
    	// Grow the stack and put down a test pattern
    	const pattern = 0x123456789abcdef
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    	}
    	return int32(r)
    }
    
    //go:nosplit
    func getgid() int32 {
    	r, errno := syscall0(&libc_getgid)
    	if errno != 0 {
    		print("getgid failed ", errno)
    		throw("getgid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func getegid() int32 {
    	r, errno := syscall0(&libc_getegid)
    	if errno != 0 {
    		print("getegid failed ", errno)
    		throw("getegid")
    	}
    	return int32(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. pkg/volume/volume_linux.go

    )
    
    const (
    	rwMask   = os.FileMode(0660)
    	roMask   = os.FileMode(0440)
    	execMask = os.FileMode(0110)
    )
    
    // SetVolumeOwnership modifies the given volume to be owned by
    // fsGroup, and sets SetGid so that newly created files are owned by
    // fsGroup. If fsGroup is nil nothing is done.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StringConfigurationAttributesResolveIntegrationTest.groovy

        @Override
        String getFree() {
            "attribute(flavor, 'free')"
        }
    
        @Override
        String getRelease() {
            "attribute(buildType, 'release')"
        }
    
        @Override
        String getPaid() {
            "attribute(flavor, 'paid')"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test2json_interrupt.txt

    )
    
    func FuzzInterrupt(f *testing.F) {
    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    		os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid))
    	}
    
    	sentInterrupt := false
    	f.Fuzz(func(t *testing.T, orig string) {
    		if !sentInterrupt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_plan9.go

    	if e != nil {
    		return 0, e
    	}
    
    	m := 0
    	for ; m < n && b[m] == ' '; m++ {
    	}
    
    	return atoi(b[m : n-1]), nil
    }
    
    func Getpid() (pid int) {
    	n, _ := readnum("#c/pid")
    	return int(n)
    }
    
    func Getppid() (ppid int) {
    	n, _ := readnum("#c/ppid")
    	return int(n)
    }
    
    func Read(fd int, p []byte) (n int, err error) {
    	return Pread(fd, p, -1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. 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)
  8. src/syscall/exec_windows_test.go

    		dumpPath := os.Getenv("GO_WANT_HELPER_PROCESS_FILE")
    		if dumpPath == "" {
    			fmt.Fprintf(os.Stderr, "Dump file path cannot be blank.")
    			os.Exit(1)
    		}
    		err := os.WriteFile(dumpPath, []byte(fmt.Sprintf("%d", os.Getppid())), 0644)
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "Error writing dump file: %v", err)
    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    	// run parent process
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. cluster/addons/dns/kube-dns/kube-dns.yaml.in

              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)
  10. cluster/addons/dns/kube-dns/kube-dns.yaml.sed

              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
    - 7.1K bytes
    - Viewed (0)
Back to top