Hacker News new | ask | show | jobs
by theteapot 700 days 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.
2 comments

> 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.

Yeah I did, oops :). I agree new approach isn't really any better.
Probably 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