From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: [PATCH review 0/3] pid namespaces fixes Date: Fri, 21 Dec 2012 20:56:49 -0800 Message-ID: <87d2y2elbi.fsf@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oleg Nesterov Cc: Linux Containers , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: containers.vger.kernel.org Oleg assuming I am not blind these patches should fix the issues you spotted in the pid namespace as well as one additional one that I found during testing. Anyone with an extra set of eyeballs that wants to look over this code and double check to make certain I am not doing something stupid would be welcome. These patches are against 3.8-rc1 and I hope to get the into linux-next and on to Linus shortly. Eric W. Biederman (3): pidns: Outlaw thread creation after unshare(CLONE_NEWPID) pidns: Stop pid allocation when init dies proc: Allow proc_free_inum to be called from any context fs/proc/generic.c | 13 +++++++------ include/linux/pid.h | 1 + include/linux/pid_namespace.h | 4 +++- kernel/fork.c | 8 ++++++++ kernel/pid.c | 13 ++++++++++--- kernel/pid_namespace.c | 4 ++++ 6 files changed, 33 insertions(+), 10 deletions(-)