Solaris support for the attach (-p) option