Re: [lxc-devel] [RFC] catching sys_reboot syscall

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 10:10 PM, Bruno Prémont wrote: Hi Daniel, [I'm adding containers ml as we had a discussion there some time ago for this feature] [ ... ] +if (cmd == LINUX_REBOOT_CMD_RESTART2) +if (strncpy_from_user(buffer[0], arg, sizeof(buffer) - 1) 0) +return

Re: [lxc-devel] [RFC] catching sys_reboot syscall

2011-08-10 Thread Bruno Prémont
Hi Daniel, [I'm adding containers ml as we had a discussion there some time ago for this feature] One comment below: On Mon, 08 August 2011 Daniel Lezcano daniel.lezc...@free.fr wrote: Hi all, I am trying to solve one of the problems the linux container community is facing : How to

Re: [lxc-devel] PATCH: lxc-ps: blkio instead of ns in /proc/*/cgroup

2011-08-10 Thread Daniel Lezcano
On 08/07/2011 03:33 AM, Yamamoto - Joe's Web Hosting wrote: Hi In Linux kernel 3.0.0, lxc-ps does not show any container names. I think it's due to the following change: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=commit;h=1bdcd78e2445f1ef7097a3ae7ef12e8f9c4fb05f