[lxc-devel] [lxc/lxc] 478dda: lxc-attach: rework pty allocation

GitHub noreply at github.com
Thu Feb 25 19:48:28 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 478dda766ac987ac54df79a126209bbd30792b49
      https://github.com/lxc/lxc/commit/478dda766ac987ac54df79a126209bbd30792b49
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M doc/lxc-attach.sgml.in
    M src/lxc/lxc_attach.c

  Log Message:
  -----------
  lxc-attach: rework pty allocation

Previously we implemented two ways to get a pty for lxc-attach:
	1. get a pty in the container
	2. get a pty on the host

Where 1. was the default and 2. was only tried after 1. failed.
For safety and simplicity reasons, we remove 1. and just keep 2. around.

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: ad6ea0348c1476a9c57bdd6e25ddb08728a5453a
      https://github.com/lxc/lxc/commit/ad6ea0348c1476a9c57bdd6e25ddb08728a5453a
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M doc/lxc-attach.sgml.in
    M src/lxc/lxc_attach.c

  Log Message:
  -----------
  Merge pull request #849 from brauner/2016-02-25/fix_attach_container_put

lxc-attach: rework pty allocation


Compare: https://github.com/lxc/lxc/compare/0eb37f98660d...ad6ea0348c14


More information about the lxc-devel mailing list