Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 306 for setpgid (0.2 sec)

  1. src/syscall/syscall_linux_test.go

    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg syscall (darwin-386), func SetNonblock(int, bool) error
    pkg syscall (darwin-386), func Setegid(int) error
    pkg syscall (darwin-386), func Seteuid(int) error
    pkg syscall (darwin-386), func Setgid(int) error
    pkg syscall (darwin-386), func Setgroups([]int) error
    pkg syscall (darwin-386), func Setlogin(string) error
    pkg syscall (darwin-386), func Setpgid(int, int) error
    pkg syscall (darwin-386), func Setpriority(int, int, int) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  3. pkg/ctrlz/topics/proc.go

    	Threads    int    `json:"threads"`
    	Goroutines int    `json:"goroutines"`
    }
    
    func getProcInfo() *procInfo {
    	pi := procInfo{
    		Egid:       os.Getegid(),
    		Euid:       os.Geteuid(),
    		GID:        os.Getgid(),
    		Pid:        os.Getpid(),
    		Ppid:       os.Getppid(),
    		UID:        os.Getuid(),
    		TempDir:    os.TempDir(),
    		Goroutines: runtime.NumGoroutine(),
    	}
    
    	pi.Groups, _ = os.Getgroups()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg syscall (darwin-arm64), func SetNonblock(int, bool) error
    pkg syscall (darwin-arm64), func Setegid(int) error
    pkg syscall (darwin-arm64), func Seteuid(int) error
    pkg syscall (darwin-arm64), func Setgid(int) error
    pkg syscall (darwin-arm64), func Setgroups([]int) error
    pkg syscall (darwin-arm64), func Setlogin(string) error
    pkg syscall (darwin-arm64), func Setpgid(int, int) error
    pkg syscall (darwin-arm64), func Setpriority(int, int, int) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64), func Setegid(int) error
    pkg syscall (netbsd-arm64), func Seteuid(int) error
    pkg syscall (netbsd-arm64), func Setgid(int) error
    pkg syscall (netbsd-arm64), func Setgroups([]int) error
    pkg syscall (netbsd-arm64), func SetKevent(*Kevent_t, int, int, int)
    pkg syscall (netbsd-arm64), func SetNonblock(int, bool) error
    pkg syscall (netbsd-arm64), func Setpgid(int, int) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/setgid_linux.go

    // Test that setgid does not hang on Linux.
    // See https://golang.org/issue/3871 for details.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func runTestSetgid() bool {
    	c := make(chan bool)
    	go func() {
    		C.setgid(0)
    		c <- true
    	}()
    	select {
    	case <-c:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  7. src/syscall/syscall_js.go

    	return string(buf[:n]), nil
    }
    
    func Getuid() int {
    	return jsProcess.Call("getuid").Int()
    }
    
    func Getgid() int {
    	return jsProcess.Call("getgid").Int()
    }
    
    func Geteuid() int {
    	return jsProcess.Call("geteuid").Int()
    }
    
    func Getegid() int {
    	return jsProcess.Call("getegid").Int()
    }
    
    func Getgroups() (groups []int, err error) {
    	defer recoverErr(&err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDU	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMP	R3, $0
    	// Hint that we're in a spin loop
    	OR	R1, R1, R1
    	BNE	loop
    	ISYNC
    
    	// Restore stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDV	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
Back to top