[PATCH 4.4 096/101] cred/userns: define current_user_ns() as a function

2017-01-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 0335695dfa4df01edff5bb102b9a82a0668ee51e upstream. The current_user_ns() macro currently returns _user_ns when user namespaces are disabled, and that causes

[PATCH 4.4 096/101] cred/userns: define current_user_ns() as a function

2017-01-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 0335695dfa4df01edff5bb102b9a82a0668ee51e upstream. The current_user_ns() macro currently returns _user_ns when user namespaces are disabled, and that causes several