app-portage/genlop: Correctly filter sandboxes.
Embed the patch provided by Joe Breuer to fix `genlop -c`.
The underlying cause seems to be that genlop looks for running emerges
by filtering over sandbox processes. A change to portage (or something)
introduced the pid-ns-init process to the call tree, which is also
selected by genlop looking for sandbox processes. This is what causes
each emerge to show up twice - once matched on the pid-ns-init process,
once on the sandbox process itself.
See https://bugs.gentoo.org/677890#c7 for more details.
Closes: https://github.com/gentoo/gentoo/pull/11975
Bug: https://bugs.gentoo.org/677890
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>