Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for Setsid (0.3 sec)

  1. src/syscall/exec_libc.go

    func forkx(flags uintptr) (pid uintptr, err Errno)
    func getpid() (pid uintptr, err Errno)
    func ioctl(fd uintptr, req uintptr, arg uintptr) (err Errno)
    func setgid(gid uintptr) (err Errno)
    func setgroups1(ngid uintptr, gid uintptr) (err Errno)
    func setrlimit1(which uintptr, lim unsafe.Pointer) (err Errno)
    func setsid() (pid uintptr, err Errno)
    func setuid(uid uintptr) (err Errno)
    func setpgid(pid uintptr, pgid uintptr) (err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/syscall/exec_bsd.go

    package syscall
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/start_posix.go

    package telemetry
    
    import (
    	"os/exec"
    	"syscall"
    )
    
    func init() {
    	daemonize = daemonizePosix
    }
    
    func daemonizePosix(cmd *exec.Cmd) {
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Setsid: true,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 441 bytes
    - Viewed (0)
  4. src/syscall/exec_freebsd.go

    package syscall
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/testdata/main4.c

    	sigset_t mask;
    	int i;
    	struct timespec ts;
    
    	verbose = argc > 2;
    	setvbuf(stdout, NULL, _IONBF, 0);
    
    	// Call setsid so that we can use kill(0, SIGIO) below.
    	// Don't check the return value so that this works both from
    	// a job control shell and from a shell script.
    	setsid();
    
    	if (verbose) {
    		fprintf(stderr, "calling sigaction\n");
    	}
    
    	memset(&sa, 0, sizeof sa);
    	sa.sa_sigaction = ioHandler;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/syscall/exec_libc2.go

    import (
    	"internal/abi"
    	"runtime"
    	"unsafe"
    )
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/runtime/syscall_aix.go

    //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setpgid setpgid "libc.a/shr_64.o"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd.go

    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	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
    	// in the child process: an index into ProcAttr.Files.
    	// This is only meaningful if Setsid is true.
    	Setctty bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/syscall/syscall_netbsd.go

    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top