4 ms·
in Linux you can rename your own process name, many applications do that to name their threads or to describe what they are doing isn't it just much easier to
by Szpadel 2y ago
in Linux you can rename your own process name, many applications do that to name their threads or to describe what they are doing
isn't it just much easier to rename our process to looks like kernel thread or some other process?
we could easily escape process tree by forking child and exiting parent (we would get adopted by init)
- tetris11 2y agoIf it's taking up a lot of CPU and MEM, someone runnning htop will begin to wonder what that process is doing. By bind mounting it, you obscure it from htop altogether
- pengaru 2y agoBrackets aren't the only indication a process is a kernel thread, it's fairly trivial to verify via proc: $ grep Kthread /proc/$$/status Kthread: 0