[lxc-devel] [PATCH 0/9] Assorted fixes against lxc 0.8.0-rc1

David Ward david.ward at ll.mit.edu
Mon Mar 5 13:34:52 UTC 2012


The following patches address a few issues I discovered while building
or using lxc, including compatibility with systemd. They were tested on
top of lxc 0.8.0-rc1 under Fedora 16.  Please let me know if you have
any questions or concerns.

David Ward (9):
  use syscall numbers from Linux kernel headers
  lxc-attach: use execvp instead of execve
  lxc-ls: only list active containers
  lxc-ls: tighten regex search on open sockets
  utmp: do not set conf->need_utmp_watch if CAP_SYS_BOOT is not found
  utmp: support non-rootfs configuration
  cgroup: rearrange code blocks
  lxc-attach: unify code for attaching a pid to a cgroup
  cgroup: only touch hierarchies that are bound to subsystems

 config/linux.m4      |   76 ---------------------
 configure.ac         |    8 +--
 src/lxc/Makefile.am  |   11 ---
 src/lxc/attach.c     |  113 +------------------------------
 src/lxc/attach.h     |    9 ---
 src/lxc/cgroup.c     |  183 +++++++++++++++++++++++++++++++------------------
 src/lxc/cgroup.h     |    2 +-
 src/lxc/lxc-ls.in    |    6 +-
 src/lxc/lxc_attach.c |   10 ++--
 src/lxc/start.c      |    1 -
 src/lxc/utmp.c       |    4 -
 11 files changed, 131 insertions(+), 292 deletions(-)
 delete mode 100644 config/linux.m4





More information about the lxc-devel mailing list