[lxc-devel] [lxc/lxc] 2f2623: lxc_spawn: initialize netpipe

GitHub noreply at github.com
Sat Apr 5 02:29:34 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2f2623ec2b5d44d72123c72fb5471d96281fabe9
      https://github.com/lxc/lxc/commit/2f2623ec2b5d44d72123c72fb5471d96281fabe9
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-04 (Fri, 04 Apr 2014)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  lxc_spawn: initialize netpipe

When rebooting an unprivileged container, netpipe starts out
as not -1.  If count_veths somehow changed this could lead
to trying to send data over nonexistent pipe.  (Ok can't
*really* happen, as it currently stands, but it's an open
end)

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list