~serge-hallyn/ubuntu/natty/lxc/fix-restart

« back to all changes in this revision

Viewing changes to src/lxc/cgroup.h

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-01-23 17:28:55 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20110123172855-1vpaxel9kwocx7qz
Tags: 0.7.3.1-0ubuntu1
* Base on new upstream git tree with new maverick and natty templates,
  and able to run without ns cgroup.
* Send a 'container=lxc' variable to upstart.  The upstream git has
  the same patch, though this tree has it as a quilt patch.
* Add lxcguest package which converts a system into one which can
  boot upstart both as a container and a (kvm or bare-metal) host.
* Add a MIRROR default in /etc/default/lxc, and use that in the
  debootstrap command in the lucid, maverick and natty templates.
* Remove 0004-restore-lxc.mount-lxc.mount.entry-functionality.patch
  which prevents containers from starting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define MAXPRIOLEN 24
27
27
 
28
28
struct lxc_handler;
29
 
int lxc_rename_nsgroup(const char *name, struct lxc_handler *handler);
30
 
int lxc_unlink_nsgroup(const char *name);
 
29
int lxc_cgroup_create(const char *name, pid_t pid);
 
30
int lxc_cgroup_destroy(const char *name);
31
31
int lxc_cgroup_path_get(char **path, const char *name);
32
32
int lxc_cgroup_nrtasks(const char *name);
33
33
#endif