- 15 Jun, 2018 5 commits
-
-
duguhaotian authored
AC_RUN_IFELSE will fail in cross-compile, we can use AC_COMPILE_IFELSE replace. Signed-off-by:duguhaotian <duguhaotian@gmail.com>
-
Christian Brauner authored
While a container reads mountinfo from proc fs, the mountinfo can be changed by the kernel anytime. This has caused critical issues on some devices. Signed-off-by: Donghwa Jeong dh48.jeong@samsung.com Reported-by: Donghwa Jeong dh48.jeong@samsung.com Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Felix Abecassis authored
The mask was unconditionally parsed, it failed if no mask was provided. Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
The last (optional) argument was named "valueTwo", which seems to originate from the OCI runtime spec: https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp In proper seccomp terminology, "value" is "datum_a" and "valueTwo" is "datum_b". However, LXC's "valueTwo" was used as the mask for SCMP_CMP_MASKED_EQ, while the mask is supposed to be "datum_a". Signed-off-by:
Felix Abecassis <fabecassis@nvidia.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 01 Jun, 2018 4 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Julien Surloppe authored
The current script doesn't generate a valid configuration for lxc.network.ipv4 key, it lacking an .address part which lead to: parse.c: lxc_file_for_each_line: 58 Failed to parse config: lxc.net.0.ipv4 = 192.168.10.101/24 Signed-off-by:Julien Surloppe <julien@surloppe.fr>
-
Christian Brauner authored
This patch fixes commit 6e62213e ("templates: actually create DOWNLOAD_TEMP directory". To use mktemp -p correctly the directories need to exist. So call mkdir -p. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Mark Asselstine authored
The way 'mktemp' is currently used you will get a temp directory in $TMPDIR or '/tmp' and DOWNLOAD_TEMP will not be pointing to an actual directory. This will result in the wget operations failing and the container will fail to create: ERROR: Failed to download http://.... Instead we want to use the '-p' option for mktemp to set the base path and this will ensure that the temp directory is created in the correct location and DOWNLOAD_TEMP will be consistent with this location. Signed-off-by:Mark Asselstine <mark.asselstine@windriver.com>
-
- 31 May, 2018 5 commits
-
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
Christian Brauner authored
commit 321db026 ("start: fix waitpid() blocking issue") and commit b2a48508 ("change defines for return value of handlers) changed the mode of files. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 30 May, 2018 2 commits
-
-
Christian Brauner authored
POSIX specifies [1]: "If the value of n is zero on a call to snprintf(), nothing shall be written, the number of bytes that would have been written had n been sufficiently large excluding the terminating null shall be returned, and s may be a null pointer." But in case there are any non-sane libcs out there that do actually dereference the buffer when when 0 is passed as length to snprintf() let's give them a dummy buffer. [1]: The Open Group Base Specifications Issue 7, 2018 edition IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008) Copyright© 2001-2018 IEEE and The Open Group Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com> Reported-by:
Donghwa Jeong <dh48.jeong@samsung.com>
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 29 May, 2018 4 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>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 28 May, 2018 3 commits
-
-
Christian Brauner authored
We need to make sure that the ttys are actually initialized otherwise deleting them is not safe. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
ns_clone_flags is used as a bitmask so initializing it to -1 is a bad idea. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 26 May, 2018 14 commits
-
-
Christian Brauner authored
Closes #2342. 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
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
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Dereference before null check Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Unchecked return value Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Logically dead code Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Logically dead code Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 25 May, 2018 3 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Let's error out on syscalls that cannot be resolved or fail to resolve instead of just warning users. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-