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 (_ *Process) pidfdWait() (*ProcessState, error) {
24 panic("unreachable")
25 }
26
27 func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
28 panic("unreachable")
29 }
30
View as plain text