~serge-hallyn/ubuntu/quantal/lxc/lxc-fixapi

« back to all changes in this revision

Viewing changes to src/lxc/namespace.c

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-07-07 13:53:52 UTC
  • mfrom: (1.2.7 upstream)
  • mto: (3.1.15 sid)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: james.westby@ubuntu.com-20110707135352-2e27007vciicu4gf
Tags: upstream-0.7.4.2
ImportĀ upstreamĀ versionĀ 0.7.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        int i;
92
92
 
93
93
        sprintf(path, "/proc/%d/ns", pid);
94
 
        if (access(path, R_OK)) {
 
94
        if (access(path, X_OK)) {
95
95
                ERROR("Does this kernel version support 'attach' ?");
96
96
                return -1;
97
97
        }