Source file
src/os/pidfd_other.go
1
2
3
4
5
6
7 package os
8
9 import "syscall"
10
11 func ensurePidfd(sysAttr *syscall.SysProcAttr) (*syscall.SysProcAttr, bool) {
12 return sysAttr, false
13 }
14
15 func getPidfd(_ *syscall.SysProcAttr, _ bool) (uintptr, bool) {
16 return 0, false
17 }
18
19 func pidfdFind(_ int) (uintptr, error) {
20 return 0, syscall.ENOSYS
21 }
22
23 func (p *Process) pidfdRelease() {}
24
25 func (_ *Process) pidfdWait() (*ProcessState, error) {
26 panic("unreachable")
27 }
28
29 func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
30 panic("unreachable")
31 }
32
View as plain text