From 349f8a54c8003b723b5c252e534d1395d7628c22 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Sun, 24 Jul 2022 01:38:00 +0800 Subject: [PATCH] fix process code --- component/process/process_darwin.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/component/process/process_darwin.go b/component/process/process_darwin.go index 3c2007fd..169c7beb 100644 --- a/component/process/process_darwin.go +++ b/component/process/process_darwin.go @@ -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 {