Adding support for process attach by pid on Linux.