node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

collector/cpu_netbsd: fix 32-bit host support and plug memory leak

Open tnn2 opened this issue 6 months ago • 0 comments

  • Correct plistref stucture. The correct size of the plistref structure must be used in ioctl number computation.
  • Replace hardcoded ioctl number computation to match what the ioctl macros do in C.
  • plist memory returned from ENVSYS_GETDICTIONARY must be unmapped after we're done.

cc @MatthiasPetermann Does this look ok to you?

tnn2 avatar Aug 04 '24 12:08 tnn2