]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-start should not hold inheritited fds
authorMichel Normand <normand@fr.ibm.com>
Wed, 15 Jul 2009 21:48:22 +0000 (23:48 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 15 Jul 2009 21:48:22 +0000 (23:48 +0200)
commitd983b93c3ad860fa22ef760ae27a944d6000e35a
tree1a15805ef5e55bc166aa6f298b9a749f3b163ac2
parentaf06a4bf9447a52c86c5578be7ef0e52bad54044
lxc-start should not hold inheritited fds

This patch makes the intermediate lxc processes to close the
inherited file descriptor. The child process will inherit these fd
in any case and that will be up to it to handle them.

Signed-off-by: Michel Normand <normand@fr.ibm.com>
src/lxc/namespace.c
src/lxc/start.c
src/lxc/utils.c
src/lxc/utils.h