[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1322956280-13831-1-git-send-email-daniel.lezcano@free.fr>
Date: Sun, 4 Dec 2011 00:51:19 +0100
From: Daniel Lezcano <daniel.lezcano@...e.fr>
To: akpm@...ux-foundation.org
Cc: serge.hallyn@...onical.com, oleg@...hat.com,
containers@...ts.linux-foundation.org, gkurz@...ibm.com,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/1][V2] Handle reboot in a child pid namespace
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists