~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to src/lxc/namespace.c

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-08-04 13:23:42 UTC
  • mfrom: (1.1.5 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100804132342-ds4lm3oaroeoxfxx
Tags: 0.7.2-1
* New upstream version
* Convert libcap dependency to versioned (closes: #571527)
* Bump up standards version to 3.9.0
* Fix too-deep /usr/lib/lxc/lxc path (closes: #587847)
* Add init script (closes: #573830)
  Thanks to Przemysław Knycz <pknycz@kolnet.eu> for the base example
* Bump up standards version (3.9.1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
int lxc_attach(pid_t pid)
98
98
{
99
99
        char path[MAXPATHLEN];
100
 
        char *ns[] = { "pid", "mnt", "net", "pid", "uts" };
 
100
        char *ns[] = { "pid", "mnt", "net", "ipc", "uts" };
101
101
        const int size = sizeof(ns) / sizeof(char *);
102
102
        int fd[size];
103
103
        int i;