backported --emperor-procname