- 17 Nov, 2016 1 commit
-
-
Serge Hallyn authored
rather than waiting and later unsharing. This "makes the creation of a new cgroup early enough that the existing cgroup mounts are visible. Which means any fancy permission checks I dream will work on a future version of liblxc." This also includes what should be a tiny improvement regarding netns, though it's conceivable it'll break something. Remember that with new kernels we need to unshare netns after we've become the root user in the new userns, so that netns files are owned by that root. But we were passing the unfiltered handler->clone_flags to the original clone(). This just resulted in a temporary extra netns generation, but still worked since our target netns, which we passed our devices into, was created late enough. Signed-off-by:
Serge Hallyn <serge@hallyn.com> Signed-off-by:
"Eric W. Biederman" <ebiederm@xmission.com>
-
- 26 Oct, 2016 26 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Tycho Andersen authored
This will never actually overflow, because %d is 32 bits and eth is 128 bytes long, but safety first :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
We need this for calculating the name of unnamed interfaces in the config. But we also need to remember to increment it :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
--veth-pair has been deprecated as of 2.6, let's use the new --external instead. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
This should allow proper filtering of build flags for libraries and make it easier to use PIE/PIC. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Po-Hsu Lin authored
Correct the backingstorage typo in lxc_copy. Signed-off-by:Po-Hsu Lin <po-hsu.lin@canonical.com>
-
Stéphane Graber authored
There are no personalities for s390x, so don't list itself as one. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Jakub Jirutka authored
Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
roedie authored
Signed-off-by:Sander Klein <github@roedie.nl>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
So far, users could only create overlay snapshots by specifying -B overlayfs and not with -B overlay. This adds support for -B overlay. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Po-Hsu Lin authored
Make release selection more flexible. Update the KNOWN_RELEAES list, add yakkety and remove vivid. Signed-off-by:Po-Hsu Lin <po-hsu.lin@canonical.com>
-
Jafar Al-Gharaibeh authored
lxc_strerror() was dropped long time ago, in 2009 to be exact. Related commit: https://github.com/lxc/lxc/commit/7cee8789514fb42d6a48d50b904e24284f5526e3Signed-off-by:
Jafar Al-Gharaibeh <to.jafar@gmail.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Jakub Jirutka authored
Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Lans Zhang authored
The returned value from snprintf() should be checked carefully. This bug can be leveraged to execute arbitrary code through carefully constructing the payload, e.g, lxc-freeze -n `python -c "print 'AAAAAAAA' + 'B'*959"` -P PADPAD -o /tmp/log This command running on Ubuntu 14.04 (x86-64) can cause a segment fault. Signed-off-by:Lans Zhang <jia.zhang@windriver.com>
-
Evgeni Golov authored
this allows running them also under Python2, which otherwise would choke on Stéphane's name and error out with SyntaxError: Non-ASCII character '\xc3' in file … Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
- 05 Oct, 2016 3 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Only check for DEVPTS_MULTIPLE_INSTANCES on kernels < 4.7. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Stéphane Graber authored
This can be used by downstreams to improve their "feature" checks. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 03 Oct, 2016 7 commits
-
-
Roman Mueller authored
Signed-off-by:Roman Mueller <roman.mueller@gmail.com>
-
Christian Brauner authored
Make sure we always free any memory that was allocated by the call to lxc_normalize_path(). Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Denis Pynkin authored
Use 'apt-conf' virtual package for ALTLinux default packages set Signed-off-by:Denis Pynkin <denis_pynkin@epam.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
Make sure we don't return uninitialized memory. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Oliver Matthews authored
Signed-off-by:Oliver Matthews <oliver@codersoffortune.net>
-
- 23 Sep, 2016 3 commits
-
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Christian Brauner authored
When the mtu cannot be retrieved from netdev->link try from veth device. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
When mtu is not set, try to retrieve mtu from netdev->link. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-