Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for hpid (0.06 sec)

  1. src/syscall/exec_unix_test.go

    		t.Fatal(err)
    	}
    
    	return &command{stdin, proc, t}
    }
    
    func parent() (pid, pgrp int) {
    	return syscall.Getpid(), syscall.Getpgrp()
    }
    
    func TestZeroSysProcAttr(t *testing.T) {
    	ppid, ppgrp := parent()
    
    	cmd := create(t)
    
    	cmd.Start()
    	defer cmd.Stop()
    
    	cpid, cpgrp := cmd.Info()
    
    	if cpid == ppid {
    		t.Fatalf("Parent and child have the same process ID")
    	}
    
    	if cpgrp != ppgrp {
    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/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    )
    
    type Siginfo struct {
    	Signo int32
    	Errno int32
    	Code  int32
    	Pid   int32
    	Uid   uint32
    	_     [44]byte
    }
    
    type SysvIpcPerm struct {
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode int32
    }
    
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    	_      [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

    
    class ProcessFixture {
        final Long pid;
    
        ProcessFixture(Long pid) {
            this.pid = pid
        }
    
        /**
         * Forcefully kills this daemon.
         */
        void kill(boolean killTree) {
            println "Killing process with pid: $pid"
            if (pid == null) {
                throw new RuntimeException("Unable to force kill the process because provided pid is null!")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/syscall/exec_freebsd.go

    		// duplicate signal in rare cases, but it won't matter when
    		// using SIGKILL.
    		r1, _, _ = RawSyscall(SYS_GETPPID, 0, 0, 0)
    		if r1 != ppid {
    			upid, _, _ = RawSyscall(SYS_GETPID, 0, 0, 0)
    			_, _, err1 = RawSyscall(SYS_KILL, upid, uintptr(sys.Pdeathsig), 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    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. pkg/bootstrap/platform/gcp_test.go

    			map[string]string{
    				GCPProject: "pid", GCPProjectNumber: "npid", GCPCluster: "cluster", GCEInstance: "instanceName", GCEInstanceID: "instance",
    				GCEInstanceTemplate: "instanceTemplate", GCEInstanceCreatedBy: "createdBy",
    			},
    		},
    		{
    			"cluster name error",
    			func() bool { return true },
    			func() (string, error) { return "pid", nil },
    			func() (string, error) { return "npid", nil },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    type SysvIpcPerm struct {
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint16
    	_    uint16
    	_    int32
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Segsz  uint64
    	Lpid   int32
    	Cpid   int32
    	Nattch uint16
    	_      [34]byte
    }
    
    const (
    	IPC_CREAT   = 0x200
    	IPC_EXCL    = 0x400
    	IPC_NOWAIT  = 0x800
    	IPC_PRIVATE = 0x0
    )
    
    const (
    	IPC_RMID = 0x0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    type SysvIpcPerm struct {
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint16
    	_    uint16
    	_    int32
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Segsz  uint64
    	Lpid   int32
    	Cpid   int32
    	Nattch uint16
    	_      [34]byte
    }
    
    const (
    	IPC_CREAT   = 0x200
    	IPC_EXCL    = 0x400
    	IPC_NOWAIT  = 0x800
    	IPC_PRIVATE = 0x0
    )
    
    const (
    	IPC_RMID = 0x0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_js.go

    	}
    	return groups, nil
    }
    
    func Getpid() int {
    	return jsProcess.Get("pid").Int()
    }
    
    func Getppid() int {
    	return jsProcess.Get("ppid").Int()
    }
    
    func Umask(mask int) (oldmask int) {
    	return jsProcess.Call("umask", mask).Int()
    }
    
    func Gettimeofday(tv *Timeval) error { return ENOSYS }
    
    func Kill(pid int, signum Signal) error { return ENOSYS }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	// Set up and fork. This returns immediately in the parent or
    	// if there's an error.
    	upid, pidfd, err, mapPipe, locked := forkAndExecInChild1(argv0, argv, envv, chroot, dir, attr, sys, pipe)
    	if locked {
    		runtime_AfterFork()
    	}
    	if err != 0 {
    		return 0, err
    	}
    
    	// parent; return PID
    	pid = int(upid)
    	if sys.PidFD != nil {
    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_aix.go

    }
    
    func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
    	return ptracePoke(pid, addr, data)
    }
    
    func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
    	return ptracePoke(pid, addr, data)
    }
    
    func PtraceCont(pid int, signal int) (err error) {
    	return ptrace64(PT_CONTINUE, int64(pid), 1, signal, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top