Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for Getegid (0.35 sec)

  1. src/syscall/exec_unix_test.go

    	"testing"
    	"time"
    )
    
    type command struct {
    	pipe io.WriteCloser
    	proc *exec.Cmd
    	test *testing.T
    }
    
    func (c *command) Info() (pid, pgrp int) {
    	pid = c.proc.Process.Pid
    
    	pgrp, err := syscall.Getpgid(pid)
    	if err != nil {
    		c.test.Fatal(err)
    	}
    
    	return
    }
    
    func (c *command) Start() {
    	if err := c.proc.Start(); err != nil {
    		c.test.Fatal(err)
    	}
    }
    
    func (c *command) Stop() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/syscall/exec_solaris_test.go

    //go:build solaris
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/syscall/exec_aix_test.go

    //go:build aix
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Setdomainname", Func, 0},
    		{"Setegid", Func, 0},
    		{"Setenv", Func, 0},
    		{"Seteuid", Func, 0},
    		{"Setfsgid", Func, 0},
    		{"Setfsuid", Func, 0},
    		{"Setgid", Func, 0},
    		{"Setgroups", Func, 0},
    		{"Sethostname", Func, 0},
    		{"Setlogin", Func, 0},
    		{"Setpgid", Func, 0},
    		{"Setpriority", Func, 0},
    		{"Setprivexec", Func, 0},
    		{"Setregid", Func, 0},
    		{"Setresgid", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/syscall/exec_linux.go

    	// and don't call UnlockOSThread until done with PtraceSyscall calls.
    	Ptrace bool
    	Setsid bool // Create session.
    	// Setpgid sets the process group ID of the child to Pgid,
    	// or, if Pgid == 0, to the new child's process ID.
    	Setpgid bool
    	// Setctty sets the controlling terminal of the child to
    	// file descriptor Ctty. Ctty must be a descriptor number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/syscall/exec_linux_test.go

    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()
    			t.Logf("%v: %v", cmd, err)
    
    			if uid != 0 && setgroups {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K 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. 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)
  9. 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)
  10. 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)
Back to top