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

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


--- lxc_roh/src/lxc/namespace.h	2011-10-02 18:57:40.000000000 +0200
+++ lxc/src/lxc/namespace.h	2011-10-02 19:41:23.000000000 +0200
@@ -49,6 +49,7 @@
 #endif
 
 extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flags);
-extern int lxc_attach(pid_t pid);
+extern int lxc_attach(pid_t pid, const char* cgname);
+extern int lxc_cgroup_append_task(const char *name, pid_t pid);
 
 #endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_attach_cgroup_2of5_namespace.h
Type: text/x-chdr
Size: 391 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20111002/0d564e60/attachment.h>


More information about the lxc-devel mailing list