- 26 Oct, 2016 11 commits
-
-
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 13 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>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Tycho Andersen authored
Otherwise in the error case, we end up subtracting two from the static_args, which would lead to a segfault :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
This is almost never the right thing to use, and we don't use it any more anyway. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
We initialized cgfsng in a strange way inside of its implementation of escape so we could use it during checkpoint. Instead, the previous patch does a hacky initialization in criu.c, and we can get rid of the hacks elsewhere :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
CRIU has added support for passing --cgroup-root on dump, which we should use (see the criu commit 07d259f365f224b32914de26ea0fd59fc6db0001 for details). Note that we don't have to do any version checking or anything, because CRIU just ignored --cgroup-root on checkpoint before, so passing it is safe, and will result in correct behavior when a sufficient version of CRIU is present. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
N.B. that these are only implemented in cgfsng, but, 15:28:28 tych0 | do we still use cgfs anywhere? or the cgm backend? 15:29:19 stgraber | not anywhere we care about ...I think that's okay. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Thierry Fauck authored
Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le which doesn't match image repo. Signed-off-by:
Thierry Fauck <tfauck@free.fr> Signed-off-by:
Serge Hallyn <serge@hallyn.com>
-
Lukas Pirl authored
Signed-off-by:Lukas Pirl <git@lukas-pirl.de>
-
- 14 Sep, 2016 6 commits
-
-
Tycho Andersen authored
2cb80427 introduced a malloc without a matching free. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com>
-
Christian Brauner authored
- We expect destroy to fail in zfs_clone() so try to silence it so users are not irritated when they create zfs snapshots. - Add -r recursive to zfs_destroy(). This code is only hit when a) the container has no snapshots or b) the user calls destroy with snapshots. So this should be safe. Without -r snapshots will remain. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Alex Athanasopoulos authored
Signed-off-by:Alex Athanasopoulos <alex@melato.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Jérôme Pouiller authored
-Werror may break builds on some scenarios with trivialities (especially during developments). Signed-off-by:Jérôme Pouiller <jezz@sysmic.org>
-