Russia gives Snowden permanent residency