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