Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 235 for setpgid (0.31 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	return int(ret), nil
    }
    
    func Setuid(uid int) (err error) {
    	return syscall.Setuid(uid)
    }
    
    func Setgid(gid int) (err error) {
    	return syscall.Setgid(gid)
    }
    
    func Setreuid(ruid, euid int) (err error) {
    	return syscall.Setreuid(ruid, euid)
    }
    
    func Setregid(rgid, egid int) (err error) {
    	return syscall.Setregid(rgid, egid)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	return mapper.Munmap(b)
    }
    
    //sys   Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
    //sysnb	Getgid() (gid int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getpgid(pid int) (pgid int, err error) = SYS_GETPGID
    
    func Getpgrp() (pid int) {
    	pid, _ = Getpgid(0)
    	return
    }
    
    //sysnb	Getppid() (pid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func Getpgid(pid int) (pgid int, err error) {
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPGID<<4, uintptr(pid))
    	pgid = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getppid() (pid int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setpgid(pid int, pgid int) (err error) {
    	_, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setsid() (pid int, err error) {
    	r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
    	pid = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top