~serge-hallyn/ubuntu/quantal/lxc/lxc-user-ns

« back to all changes in this revision

Viewing changes to src/lxc/console.c

  • Committer: Serge Hallyn
  • Date: 2012-10-29 16:51:57 UTC
  • Revision ID: serge.hallyn@ubuntu.com-20121029165157-xw2nxym7eo0ocxu4
Add user namespaces patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
                goto err;
196
196
        }
197
197
 
 
198
        if (uid_shift_file(console->path, conf))
 
199
                goto err;
 
200
 
198
201
        fd = lxc_unpriv(open(console->path, O_CLOEXEC | O_RDWR | O_CREAT |
199
202
                             O_APPEND, 0600));
200
203
        if (fd < 0) {