3 ms·
Did we read the same article? What two identical PIDs? The process doesn't show up in ps so doesn't show up in "ps | grep ..." either.
by theteapot 2y ago
Did we read the same article? What two identical PIDs? The process doesn't show up in ps so doesn't show up in "ps | grep ..." either.
- jaimehrubiks 2y agoProbably yes, because in the op's article it's using a bind mount from another kernel thread and it does show up in ps twice
- Sophira 2y ago> Did we read the same article? Probably you read the article that was linked from this article, which does indeed make the process completely vanish, but leaves a suspicious empty /proc directory. This article 'solves' the problem of an empty directory by simply bind-mounting another process instead - but that causes ps to output a duplicate line (including process ID) for the other process, in lieu of the process being hidden.
- theteapot 2y agoYeah I did, oops :). I agree new approach isn't really any better.