- 03 May, 2017 2 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This adds lxc_config_item_is_supported() as API extension. It allows to check whether a given config item (e.g. lxc.autodev) is supported by this LXC instance. The function is useful in the following scenarios: 1. Users have compiled liblxc from source and have removed a config items from the corresponding struct in confile.c. (For example, embedded users might decide to gut a bunch of options that they cannot use.) 2. Callers that want to check for a specific configuration item independent of the version numbers exposed in our version.h header. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 02 May, 2017 2 commits
-
-
Stéphane Graber authored
Change sshd template to work with Ubuntu 17.04
-
Nikolay Martynov authored
A few things have changed and this patch makes container generated for sshd work in Ubuntu Signed-off-by:Nikolay Martynov <mar.kolya@gmail.com>
-
- 29 Apr, 2017 1 commit
-
-
Serge Hallyn authored
utils: tweak lxc_mount_proc_if_needed()
-
- 28 Apr, 2017 4 commits
-
-
Christian Brauner authored
Create /proc directory if it doesn't exist. Closes #1475. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Closes #1475. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
conf: close fd in lxc_setup_devpts()
-
Christian Brauner authored
This left the file descriptor to the underlying /dev/ptmx file open which confused the hell out of criu. Let's close it. Closes https://github.com/lxc/lxd/issues/3243. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
- 25 Apr, 2017 2 commits
-
-
Christian Brauner authored
doc: add lxc.limit to lxc.container.conf(5)
-
KATOH Yasufumi authored
Update for commit 93f9e90dSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 24 Apr, 2017 1 commit
-
-
Stéphane Graber authored
confile: fix musl build
-
- 23 Apr, 2017 6 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
cgroups: improve cgfsng debugging
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
In a lot of cases we need a list of the writeable cgroup controllers detected by the cgfsng driver. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
utils: use loop device helpers from LXD
-
Stéphane Graber authored
create ISSUE_TEMPLATE.md
-
- 22 Apr, 2017 4 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Use the loop device helpers I wrote for LXD in LXC as well. They should be more efficient. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
conf: use bind-mount for /dev/ptmx
-
- 21 Apr, 2017 2 commits
-
-
Christian Brauner authored
AppArmor will refuse on /dev/ptmx being a symlink. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 19 Apr, 2017 1 commit
-
-
Serge Hallyn authored
autotools: check for cap_get_file
-
- 18 Apr, 2017 3 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
caps: skip file capability checks on android
-
- 17 Apr, 2017 5 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
attach|unshare: fix the wrong comment
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
Christian Brauner authored
fix typo introduced in #1509
-
Evgeni Golov authored
Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
- 16 Apr, 2017 3 commits
-
-
Serge Hallyn authored
idmap improvements
-
Christian Brauner authored
ls: simplify the judgment condition when list active containers
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
- 15 Apr, 2017 4 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
The new{g,u}idmap binaries where a source of trouble for users when they lacked sufficient privileges. This commit adds code to check for sufficient privilege. It checks whether new{g,u}idmap is root owned and has the setuid bit set and if it doesn't it checks whether new{g,u}idmap is root owned and has CAP_SETUID in its CAP_PERMITTED and CAP_EFFECTIVE set. Closes #296. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Add two new helpers that allow to determine whether a given proc or file has a capability in the given set and move lxc_cap_is_set() to static function that both call internally. Closes #296. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-