[lxc-devel] [GIT] lxc branch, master, updated. 0dd4566ecadfa4a42529250513dc68b6aed4ce92
Daniel Lezcano
git at users.sourceforge.net
Thu Jul 16 14:39:12 UTC 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".
The branch, master has been updated
via 0dd4566ecadfa4a42529250513dc68b6aed4ce92 (commit)
via 3a0f472d9dcf1d343dcec1d6d644a8d925fa3ce7 (commit)
via cdfeda48d2f112cef5f300538e77e5b81b8c80a4 (commit)
from d983b93c3ad860fa22ef760ae27a944d6000e35a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0dd4566ecadfa4a42529250513dc68b6aed4ce92
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu Jul 16 16:38:15 2009 +0200
Remove the a previous cgroup
As a previous run may have created a cgroup but died unexpectedly,
the cgroup can be still there when we try to launch the container
again with the same name. This patch removes the directory if it is
present, if this one is not owned by caller or it is in use (that should
not happen), the rmdir will fail with the corresponding errno.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 3a0f472d9dcf1d343dcec1d6d644a8d925fa3ce7
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu Jul 16 16:38:15 2009 +0200
encapsulate lxc_handler
Move the lxc_handler structure definition in the body file and
dynamically allocate it.
lxc_handler becomes an opaque structure for the user.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit cdfeda48d2f112cef5f300538e77e5b81b8c80a4
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu Jul 16 16:38:15 2009 +0200
Remove useless initialization
The structure is cleared by the lxc_init function.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/cgroup.c | 11 ++++++++++
src/lxc/start.c | 55 ++++++++++++++++++++++++++++++++++-------------------
src/lxc/start.h | 11 +--------
3 files changed, 48 insertions(+), 29 deletions(-)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list