[lxc-devel] [Lxc-devel] [PATCH 5/5] Add pids of lxc-attach to the cgroup of container

"Axel Schöner" axel.schoener at gmx.de
Sun Oct 2 18:14:49 UTC 2011


--- lxc_roh/src/lxc/lxc_attach.c	2011-10-02 18:57:40.000000000 +0200
+++ lxc/src/lxc/lxc_attach.c	2011-10-02 17:36:35.000000000 +0200
@@ -85,7 +85,7 @@
 
 	curdir = get_current_dir_name();
 
-	ret = lxc_attach(pid);
+	ret = lxc_attach(pid, my_args.name);
 	if (ret < 0) {
 		ERROR("failed to enter the namespace");
 		return -1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_attach_cgroup_5of5_lxc_attach.c
Type: text/x-csrc
Size: 329 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20111002/e133c7ff/attachment.c>


More information about the lxc-devel mailing list