[lxc-devel] The poor man's attach (v2)

Greg Kurz gkurz at fr.ibm.com
Tue Nov 8 11:48:56 UTC 2011


Hi Daniel,

Here's a resend for lxc-rexec with a fix for the linkage error.
Also I added a patch to get rid of this warning:

In function ‘handle_rexec_connect’:
src/lxc/lxc_init.c:372:3: warning: implicit declaration of function ‘login_tty’

It appears safer to kill src/lxc/utmp.h instead of messing with automake
internals.

---

Greg Kurz (4):
      lxc: introduce lxc-rexec (v2)
      lxc: kill utmp.h header
      lxc-init: use lxc logging infrastructure
      lxc-init: use lxc_mainloop


 src/lxc/Makefile.am   |    9 +
 src/lxc/arguments.h   |    3 
 src/lxc/error.c       |   23 ++
 src/lxc/error.h       |    3 
 src/lxc/execute.c     |   66 ++++++
 src/lxc/execute.h     |   28 +++
 src/lxc/lxc.h         |    1 
 src/lxc/lxc_execute.c |    3 
 src/lxc/lxc_init.c    |  511 ++++++++++++++++++++++++++++++++++++++-----------
 src/lxc/lxc_rexec.c   |  337 ++++++++++++++++++++++++++++++++
 src/lxc/start.c       |    4 
 src/lxc/utmp.h        |   28 ---
 12 files changed, 865 insertions(+), 151 deletions(-)
 create mode 100644 src/lxc/execute.h
 create mode 100644 src/lxc/lxc_rexec.c
 delete mode 100644 src/lxc/utmp.h

-- 
Greg




More information about the lxc-devel mailing list