]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-attach: rework pty allocation 849/head
authorChristian Brauner <christian.brauner@mailbox.org>
Thu, 25 Feb 2016 14:22:53 +0000 (15:22 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Thu, 25 Feb 2016 18:27:02 +0000 (19:27 +0100)
commit478dda766ac987ac54df79a126209bbd30792b49
tree8f68d7eb917cedf5fbea33b32a2e83f0b5477b18
parentfa79f0a4e3fc3a99cf806f3076baa640709ba06d
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@mailbox.org>
doc/lxc-attach.sgml.in
src/lxc/lxc_attach.c