Documentation
¶
Overview ¶
Package scanproc runs the sensor's scanning tools (the platform-mode executors and the content refresh) the way the SDK's own exec helpers run scanners (api RFC-035 §5.3, defect B6): in their own process group, so a canceled context kills a wrapper's children too and nothing outlives the command, and at the scanner priority (nice, best-effort I/O and an OOM score above the sensor's; SENSOR_SCANNER_PRIORITY).
Version probes and tool installation do not need it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Output ¶
Output is exec.Cmd.Output for a scanner: the standard output, and when cmd.Stderr is nil, the *exec.ExitError of a failed run carries the standard error in Stderr (its first and last 32 KiB), which callers report.
Types ¶
This section is empty.