Re:The Linux kernel can spawn processes on its own
by cmeacham98 on Saturday June 11, 2022 @02:14PM
(#31706704)
init has a ppid of 0, which effectively is a special value that means the kernel. These processes probably also do the same thing (and thus, ppid=0 is a good way to detect kernel-started processes).
[ Parent
| on HN ]