Created originally on Bitbucket by tpruzina (Tomáš Pružina)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
PID1 (init) isn't observable on systems with procfs mounted with hidepid=1,2 unless build runs under root (for example on Gentoo where package manager compiles under user 'portage'). This can be fixed by replacing /proc/1/status with /proc/self/status (which is visible to the build script).