fix process code

This commit is contained in:
gVisor bot 2022-07-24 01:38:00 +08:00
parent c3fa4a0121
commit 349f8a54c8

View file

@ -15,6 +15,10 @@ const (
proccallnumpidinfo = 0x2
)
func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (int32, int32, error) {
return 0, 0, ErrPlatformNotSupport
}
func findProcessName(network string, ip netip.Addr, port int) (int32, string, error) {
var spath string
switch network {