Files
herdr/src
Ogulcan Celik 9aa50f04a9 fix: use KERN_PROCARGS2 for macOS process name resolution
proc_name() fails on macOS Sequoia due to undersized buffer
(MAXCOMLEN+1 = 17 bytes). Even with a larger buffer, it returns
the kernel comm name ('node') rather than the effective process
title ('pi') set via Node.js process.title.

Replace with sysctl(KERN_PROCARGS2) which reads argv[0] and
reflects runtime title changes, matching what ps(1) displays.
Falls back to pbi_comm from proc_pidinfo if sysctl fails.
2026-03-27 22:43:29 +03:00
..
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00
2026-03-27 21:37:05 +03:00