From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752662Ab1LCXva (ORCPT ); Sat, 3 Dec 2011 18:51:30 -0500 Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:45812 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329Ab1LCXv3 (ORCPT ); Sat, 3 Dec 2011 18:51:29 -0500 From: Daniel Lezcano To: akpm@linux-foundation.org Cc: serge.hallyn@canonical.com, oleg@redhat.com, containers@lists.linux-foundation.org, gkurz@fr.ibm.com, linux-kernel@vger.kernel.org Subject: [PATCH 0/1][V2] Handle reboot in a child pid namespace Date: Sun, 4 Dec 2011 00:51:19 +0100 Message-Id: <1322956280-13831-1-git-send-email-daniel.lezcano@free.fr> X-Mailer: git-send-email 1.7.5.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ChangeLog: * V2 - added a lock for the pid namespace to prevent racy call to the 'reboot' syscall - Moved 'reboot' command assigned in zap_pid_ns_processes instead of wait_task_zombie - added tasklist lock around force_sig - added do_exit in pid_ns_reboot - used task_active_pid_ns instead of declaring a new variable in sys_reboot - moved code up before POWER_OFF changed to HALT in sys_reboot Daniel Lezcano (1): Add reboot_pid_ns to handle the reboot syscall include/linux/pid_namespace.h | 9 ++++++- kernel/pid_namespace.c | 54 +++++++++++++++++++++++++++++++++++++++++ kernel/sys.c | 3 ++ 3 files changed, 65 insertions(+), 1 deletions(-) -- 1.7.5.4