[lxc-devel] [GIT] lxc branch, master, updated. 958f5c9e83ffac81aa711a803d13bd713550c341
Daniel Lezcano
git at users.sourceforge.net
Mon Jul 20 15:59:03 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 958f5c9e83ffac81aa711a803d13bd713550c341 (commit)
via af795875875de1855ee251ba530fbe2b53463f6e (commit)
from 0dd4566ecadfa4a42529250513dc68b6aed4ce92 (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 958f5c9e83ffac81aa711a803d13bd713550c341
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Mon Jul 20 17:57:31 2009 +0200
isolate the shmfs for the container
The /dev/shm is not isolated for application container, so mount it in
the container.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit af795875875de1855ee251ba530fbe2b53463f6e
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Mon Jul 20 17:57:31 2009 +0200
fix closed fd when they are inherited
This patch fix a problem with the commit d983b93c3ad860fa22ef760ae27a944d6000e35a
When the lxc daemonize, it closes fd 0, 1 and 2. But these ones are coming from
inherited fd and they are already in the inherited list of fd. When lxc creates
some file descriptors, they have the number of the previous inherited file
descriptor, so they are closed when we close all the inherited file descriptors.
In order to fix that, the lxc_close_inherited_fd function has been implemented
to close an inherited fd and remove it from the list.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/lxc_init.c | 28 +++++++++++++++++++++--
src/lxc/lxc_start.c | 8 +++---
src/lxc/start.c | 3 +-
src/lxc/utils.c | 60 +++++++++++++++++++++++++++++++++++++-------------
src/lxc/utils.h | 3 +-
5 files changed, 77 insertions(+), 25 deletions(-)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list