Created originally on Bitbucket by tpruzina (Tomáš Pružina)
Was already merged in Bitbucket before import, marked as merged 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).