[lxc-devel] [lxc/lxc] 5c068d: lxc_spawn: don't close pinfd until container is st...

GitHub noreply at github.com
Fri Sep 6 18:23:29 UTC 2013


  Branch: refs/heads/staging
  Home:   https://github.com/lxc/lxc
  Commit: 5c068da9695bcbfa46e0b3666128e3a533c9ddc7
      https://github.com/lxc/lxc/commit/5c068da9695bcbfa46e0b3666128e3a533c9ddc7
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-09-06 (Fri, 06 Sep 2013)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  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 at afaics.de>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>





More information about the lxc-devel mailing list