We should remove lib/misc/safe_signals entirely. It shouldn't be used anymore.