- 18 May, 2017 1 commit
-
-
Christian Brauner authored
I suspect that there's a glibc bug on ppc64le. Both clang and gcc a very unhappy when you return -errno from these functions. Instead, let's return concrete errno numbers, e.g. -EINVAL. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 16 May, 2017 4 commits
-
-
Christian Brauner authored
[lxc-top] Add memory+swap monitoring
-
Nevenchanniy Aleksandr authored
This is patch add memory + swap monitoring from lxc-top tool Signed-off-by:Alexandr Nevenchanniy <a.nevenchannyy@gmail.com>
-
Serge Hallyn authored
conf{,ile}: allow to clear all config items -
Serge Hallyn authored
start: pin rootfs when privileged
-
- 15 May, 2017 10 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Seccomp: update comment, print action name etc
-
Christian Brauner authored
Closes #1561. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
0x0916 authored
This patch add function `get_action_name`, so we can print action name in the log file. for example: ``` lxc-start ubuntu 20170515095416.561 INFO lxc_seccomp - seccomp.c:parse_config_v2:613 - Adding compat rule for reject_force_umount action 0(kill). lxc-start ubuntu 20170515095416.562 INFO lxc_seccomp - seccomp.c:parse_config_v2:613 - Adding compat rule for kexec_load action 327681(errno). ``` Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
Christian Brauner authored
add more detail for blkio
-
Christian Brauner authored
monitor: delete unnecessary include file
-
0x0916 authored
we want to export `monitor.h`, `#include "conf.h"` will cause error and it is unneccessory so just delete it. Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
This patch add Read and Write information for blkio bytes. Signed-off-by:0x0916 <w@laoqinren.net>
-
- 14 May, 2017 2 commits
-
-
Christian Brauner authored
conf: fix build without libcap
-
Dima Krasner authored
Signed-off-by:Dima Krasner <samdima@securingsam.com>
-
- 13 May, 2017 4 commits
-
-
Stéphane Graber authored
lxc-attach: allow for situations without /dev/tty
-
Serge Hallyn authored
utils: fix num parsing functions
-
Serge Hallyn authored
start: don't call lxc_map_ids() without id map
-
Christian Brauner authored
So far, we somehow always called lxc_map_ids(), even when no id map was configured. Let's not do this. Closes #1555. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 12 May, 2017 2 commits
-
-
Christian Brauner authored
Closes #1552. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 11 May, 2017 6 commits
-
-
Christian Brauner authored
Suggested-by: Benedikt Rosenkranz beluro@web.de Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
start: add crucial details about lxc_spawn()
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Install systemd units for CentOS
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
- 10 May, 2017 7 commits
-
-
Stéphane Graber authored
utils: handle > 2^31 in lxc_unstack_mountpoint()
-
Christian Brauner authored
I mean.. really? But better safe than sorry. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
start: remove umount2()
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
I really fail to see the point of this and git {blame, log -S} don't really enlighten me on the reason for this as well. But I might be dense. The way I see it the only thing this line achieves is causing trouble when the container is started as root because the umount2() call will umount e.g. /usr/lib/x86_64-linux-gnu/lxc in case it is a mountpoint on the host. Note, this is because lxc_spawn() is still called in the hosts namespaces. Closes https://github.com/lxc/lxd/#3255. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
harden console handling
-
Christian Brauner authored
There's really no reason not to if it's requested. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 09 May, 2017 4 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
lxc_unstack_mountpoint() tries to clear all mountpoints from a given path. It return the number of successful umounts on success and -errno on error. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
The code in conf will bind-mount a /dev/pts/<n> device over a dummy regular /dev/console file. If users really want /dev/console bind-mount from the host they can request it explicitly in the containers config file. This change will have no effect on current LX{C,D} behavior since we (as said above) overmount the /dev/console bind-mount anyway. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-