go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/processes/linuxproc_windows.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  //go:build windows
     5  
     6  package processes
     7  
     8  import (
     9  	"errors"
    10  )
    11  
    12  // Read out all connected sockets. This is not yet implemented on non-Unix
    13  // systems and needs some work to function via remote connections
    14  func (lpm *LinuxProcManager) procSocketInods(pid int64, procPidPath string) ([]int64, error) {
    15  	return []int64{}, errors.New("reading socket inodes is not implemented for Windows")
    16  }