#450·toaruos

Fixup proc->cmdline with interpreters

Author: klangeCreated Apr 24, 2026Updated May 8, 2026

cmdline always points to the original arguments; it should point to the interpreter arguments to match procfs behavior in Linux.

Name: in procfs should be the original executable name, then the interpreter can be determined from cmdline.

pidof should probably use the latter?