Closed rdbo closed 1 year ago
The string at /proc/<pid>/comm (and perhaps at struct kinfo_proc->ki_comm) can be modified. For example, Firefox's comm is not firefox or firefox-esr, but rather Isolated Web Co, which is definitely not the process name.
/proc/<pid>/comm
struct kinfo_proc->ki_comm
comm
firefox
firefox-esr
Isolated Web Co
Done: 5717800e045f4c3c277fdbd83d56755c43fc29bf
The string at
/proc/<pid>/comm
(and perhaps atstruct kinfo_proc->ki_comm
) can be modified. For example, Firefox'scomm
is notfirefox
orfirefox-esr
, but ratherIsolated Web Co
, which is definitely not the process name.