lxcpp: Terminal preparation part 2 (guest) 35/48535/2
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 18 Sep 2015 14:26:58 +0000 (16:26 +0200)
committerLukasz Pawelczyk <l.pawelczyk@samsung.com>
Tue, 22 Sep 2015 13:10:02 +0000 (15:10 +0200)
commit08a871f9e354e79e755402cd0a97dc6d4501ef47
treecd941002f710e6c1bfe38ecceeb1cf08bcd7d2a0
parentfe7acf72de44d39b5cb434fd9119364fc2ba44e2
lxcpp: Terminal preparation part 2 (guest)

[Feature]       Make use of the created pseudoterminals in the container
[Verification]  Build, install, run tests

Changes in this commit:
- PrepGuestTerminal command
- it's main function: setupIOControlTTY()
- some more utils/terminal wrappers for syscalls
- long overdue open(2) wrapper

Change-Id: I235baec044ed82d3376cba3f2e5b4d18f5b1dd71
14 files changed:
common/utils/fd-utils.cpp
common/utils/fd-utils.hpp
libs/lxcpp/commands/attach.cpp
libs/lxcpp/commands/prep-guest-terminal.cpp [new file with mode: 0644]
libs/lxcpp/commands/prep-guest-terminal.hpp [new file with mode: 0644]
libs/lxcpp/commands/prep-host-terminal.cpp
libs/lxcpp/container-impl.cpp
libs/lxcpp/credentials.cpp
libs/lxcpp/credentials.hpp
libs/lxcpp/guard/guard.cpp
libs/lxcpp/guard/main.cpp
libs/lxcpp/process.cpp
libs/lxcpp/terminal.cpp
libs/lxcpp/terminal.hpp