Hi, this is because on Linux, renderers are in a different PID
namespace in order to limit their possible interaction with other
processes (
https://lwn.net/Articles/531419/ has a some more background
on PID namespaces). Unfortunately, there isn't a super nice way for a
process inside the PID namespace to report its PID outside. The
easiest way to get the outside PID from in a renderer is probably to
call ChannelPosix::GetHelloMessageProcId(). On starting a renderer,
the real PID is read back from a process outside of the PID namespace
and stored in a variable that this function returns.
Ricky
(Sorry for the double mail, forgot to reply all.)