]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
lxc_spawn: don't close pinfd until container is stopped
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 6 Sep 2013 17:25:47 +0000 (12:25 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 6 Sep 2013 18:23:08 +0000 (13:23 -0500)
commit5c068da9695bcbfa46e0b3666128e3a533c9ddc7
treebafbfaf818d72a49181eba0d244f4f67559e1df2
parent69c757b343b5bbd2543adc4f3f0204d4696515e0
lxc_spawn: don't close pinfd until container is stopped

Otherwise containers may be able to remount -o ro their rootfs
at shutdown.

Reported-by: Harald Dunkel <harri@afaics.de>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/start.c