- 30 Sep, 2018 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>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 28 Sep, 2018 11 commits
-
-
Stéphane Graber authored
autotools: support -z relro and -z now
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
utils: add lxc_setup_keyring()
-
Christian Brauner authored
Allocate a new keyring if we can to prevent information leak. 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
oci-template: Add logic for no /etc/passwd, group
-
Jungsub Shin authored
OCI image spec dosen't specify action when there is no /etc/passwd or /etc/group. So if there is no /etc/passwd with string user info, set uid to 0. If there is no /etc/group with string group info, set gid to 0. Signed-off-by: Jungsub Shin jungsub_shin@tmax.co.kr
-
Stéphane Graber authored
btrfs: fix btrfs containers
-
Christian Brauner authored
Closes #2612. Closes #2655. Fixes: 9de31d5a ("tree-wide: s/strncpy()/strlcpy()/g") Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
template: oci template supports for char user info
-
Jungsub Shin authored
oci template changes character user info to uid, gid according to OCI image spec. Signed-off-by: Jungsub Shin jungsub_shin@tmax.co.kr
-
- 27 Sep, 2018 5 commits
-
-
Stéphane Graber authored
cgroups: tweaks
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Wolfgang Bumiller authored
cgroups: implement monitor cgroup deletion
-
Stéphane Graber authored
tree-wide: fix includes to fix bionic builds
-
- 26 Sep, 2018 15 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
netns_ifaddrs: fix missing include
-
Christian Brauner authored
doc: Add -u and -g args to Japanese lxc-attach(1) and lxc-execute(1)
-
KATOH Yasufumi authored
Update for commit ddd51fdb and 08401048Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
compiler: add __hot attribute
-
Stéphane Graber authored
compiler: fix __noreturn on bionic
-
Christian Brauner authored
This instructs the compiler to better optimize the config parsing code. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
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 same way we need to ensure that no existing cgroups are reused for the payload in cgfsng_payload_create() we need to ensure that no existing cgroups are reused for the monitor. Technially this is less of an issue since there currently is no logic for the monitor to apply limits to its cgroup but it is still the proper way to do it. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Since we switched to the new cgroup scoping scheme that places the container payload into lxc.payload/<container-name> and lxc.monitor/<container-name> deletion becomes slightly more complicated. The monitor will be able to rm_rf(lxc.payload/<container-name>) but will not be able to rm_rf(lxc.monitor/<container-name>) since it will be located in that cgroup and it will thus be populated. My current solution to this is to create a lxc.pivot cgroup that only exists so that the monitor process on container stop can pivot into it, call rm_rf(lxc.monitor/<container-name>) and can then exit. This group has not function whatsoever apart from this and can thus be shared by all monitor processes. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 25 Sep, 2018 1 commit
-
-
Stéphane Graber authored
apparmor: account for specified rootfs path (closes #2617)
-
- 24 Sep, 2018 5 commits
-
-
Stéphane Graber authored
cgfsng: set errno to ENOENT on get_hierarchy()
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
stop: Only freeze if freezer is available
-
Stéphane Graber authored
Closes #2644 Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-