Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't kill ourselves when hidepid is set
If you use hidepid=1 or hidepid=2 for your /proc filesystem, earlyoom running as a normal user can no longer see (hidepid=2) or look at the memory usage (hidepid=1) of running processes. Detect this sitatuation by counting candidate processes. Iff there is only one candidate and it is ourselves, don't kill ourselves. #184
- Loading branch information