[lxc-devel] [lxc/lxc] 1f9bbd: conf: don't send ttys when none are configured

GitHub noreply at github.com
Mon Sep 4 15:54:25 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 1f9bbd230c774570826c96101b9382802d809caf
      https://github.com/lxc/lxc/commit/1f9bbd230c774570826c96101b9382802d809caf
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: don't send ttys when none are configured

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


  Commit: 7729f8e519a1c15be85266e7fcc3fdc8ae74c7b8
      https://github.com/lxc/lxc/commit/7729f8e519a1c15be85266e7fcc3fdc8ae74c7b8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/network.c
    M src/lxc/start.c

  Log Message:
  -----------
  start: don't let data_sock users close the fd

It is bad style to close an fd inside a function which didn't create it. Let's
rather close it transparently in start.c.

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


  Commit: b41431e87db7875e63590ebc23ee7dd9af28f8f5
      https://github.com/lxc/lxc/commit/b41431e87db7875e63590ebc23ee7dd9af28f8f5
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/network.c
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #1782 from brauner/2017-09-04/fix_tty_sending

conf: don't send ttys when none are configured


Compare: https://github.com/lxc/lxc/compare/36259ede73c1...b41431e87db7


More information about the lxc-devel mailing list