From: Eric W. Biederman Date: Thu, 2 Aug 2012 11:25:10 +0000 (-0700) Subject: pidns: Capture the user namespace and filter ns_last_pid X-Git-Tag: v3.8-rc1~77^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f4d8b93ccf9454284b6f524b96c66d8d7fbccc;p=pandora-kernel.git pidns: Capture the user namespace and filter ns_last_pid - Capture the the user namespace that creates the pid namespace - Use that user namespace to test if it is ok to write to /proc/sys/kernel/ns_last_pid. Zhao Hongjiang noticed I was missing a put_user_ns in when destroying a pid_ns. I have foloded his patch into this one so that bisects will work properly. Acked-by: Serge Hallyn Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed