Twas brillig at 10:38:05 08.04.2010 UTC+02 when dlezc...@fr.ibm.com did
gyre and gimble:

 DL> Yep, I did a quick hack in sys_reboot sending a SIGPWR to the
 DL> parent of the pid namespace when this one is not the init_pid_ns,
 DL> but I didn't had time to propose/send an acceptable version and
 DL> argue for it on lkml@/contain...@.  Furthermore, before sending a
 DL> patch to the kernel, we have to be sure this problem can't be
 DL> solved from userspace first.

It should be possible to preload library that intercepts sys_reboot in
init. Though it will work only for dynamically-linked init.

Proper solution is patching the kernel, unless there is a way to
reliably intercept syscalls somehow.

-- 
  http://fossarchy.blogspot.com/

Attachment: pgpzQdCkC9JSU.pgp
Description: PGP signature

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to