Follow-up to PR #23534 / issue #23296.
FreeBSD's apps_os_collect_all_pids_freebsd() also fetches struct kinfo_proc with the same BSD p_stat enum (SIDL/SRUN/SSLEEP/SSTOP/SZOMB) used by the new macOS implementation, but PROCESSES_HAVE_STATE remains 0 there too.
Tracking the same enable + map + count-before-skip pattern that was implemented for macOS in #23534.
Follow-up to PR #23534 / issue #23296.
FreeBSD's
apps_os_collect_all_pids_freebsd()also fetchesstruct kinfo_procwith the same BSDp_statenum (SIDL/SRUN/SSLEEP/SSTOP/SZOMB) used by the new macOS implementation, butPROCESSES_HAVE_STATEremains 0 there too.Tracking the same enable + map + count-before-skip pattern that was implemented for macOS in #23534.