userns: Free user namespaces in process context
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 30 Jul 2016 18:53:37 +0000 (13:53 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 8 Aug 2016 14:17:18 +0000 (09:17 -0500)
commitb032132c3c218f4a09e9499b3674299a752581c6
tree053a27f83f9bf00638197f451f49117cfe110fea
parent13bcc6a2853435bb5dad368bcbaa9d2a5b9c0ac4
userns: Free user namespaces in process context

Add the necessary boiler plate to move freeing of user namespaces into
work queue and thus into process context where things can sleep.

This is a necessary precursor to per user namespace sysctls.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/user_namespace.h
kernel/user_namespace.c