[lxc-devel] [lxc/lxc] c7a2de: execute: do not check inherited fds again

GitHub noreply at github.com
Wed May 9 13:49:09 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c7a2deb2dcd0abb8e4619285a84892a45d4af961
      https://github.com/lxc/lxc/commit/c7a2deb2dcd0abb8e4619285a84892a45d4af961
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-08 (Tue, 08 May 2018)

  Changed paths:
    M src/lxc/execute.c

  Log Message:
  -----------
  execute: do not check inherited fds again

This is already done in do_lxcapi_start{l}() so a) no need to do it again here
and b) this would close the state socket pair sockets, corrup the fd, and lead
to EBADF.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f52624fa563dc557a48cae77b188d4c69e5f2897
      https://github.com/lxc/lxc/commit/f52624fa563dc557a48cae77b188d4c69e5f2897
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M src/lxc/execute.c

  Log Message:
  -----------
  Merge pull request #2309 from brauner/2018-05-08/fix_execute

execute: do not check inherited fds again


Compare: https://github.com/lxc/lxc/compare/7101cb035b2c...f52624fa563d
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list