All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1][V2] Handle reboot in a child pid namespace
@ 2011-12-03 23:51 ` Daniel Lezcano
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Lezcano @ 2011-12-03 23:51 UTC (permalink / raw)
  To: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	oleg-H+wXaHxf7aLQT0dZR+AlfA, linux-kernel-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-04 19:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-03 23:51 [PATCH 0/1][V2] Handle reboot in a child pid namespace Daniel Lezcano
2011-12-03 23:51 ` Daniel Lezcano
     [not found] ` <1322956280-13831-1-git-send-email-daniel.lezcano-GANU6spQydw@public.gmane.org>
2011-12-03 23:51   ` [PATCH 1/1][v2] Add reboot_pid_ns to handle the reboot syscall Daniel Lezcano
2011-12-03 23:51     ` Daniel Lezcano
     [not found]     ` <1322956280-13831-2-git-send-email-daniel.lezcano-GANU6spQydw@public.gmane.org>
2011-12-04 15:45       ` Oleg Nesterov
2011-12-04 15:45         ` Oleg Nesterov
     [not found]         ` <20111204154543.GA23805-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-12-04 19:25           ` Daniel Lezcano
2011-12-04 19:25             ` Daniel Lezcano
2011-12-04 15:58     ` Miquel van Smoorenburg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.