- 31 May, 2018 1 commit
-
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 30 May, 2018 3 commits
-
-
Stéphane Graber authored
confile: improve strprint()
-
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>
-
Christian Brauner authored
conf: va_end was not called.
-
- 29 May, 2018 2 commits
-
-
Stéphane Graber authored
conf: small cleanups
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 28 May, 2018 9 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>
-
Stéphane Graber authored
start: do not init ns_clone_flags to -1
-
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>
-
Christian Brauner authored
network: fix socket handle leak
-
Donghwa Jeong authored
Signed-off-by:Donghwa Jeong <dh48.jeong@samsung.com>
-
- 26 May, 2018 15 commits
-
-
Stéphane Graber authored
conf: cleanups, and bugfixes
-
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>
-
Stéphane Graber authored
tools: fix lxc-create with global config value II
-
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>
-
- 25 May, 2018 10 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
seccomp: more fixes
-
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>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Seccomp fixup part 2
-
Wolfgang Bumiller authored
Be more strict about unrecognized actions. Previously the parser would happily accept lines with typos like: kexec_load errrno 1 (note the extra 'r') Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Wolfgang Bumiller authored
Moving parse_config_v2 to use getline accidentally parsed the wrong buffer. Since both _v1 and _v2 now use getline it seems to be simpler to also use getline() for the first line before entering the version specific parsers and pass along the pointer and size so they can reuse them. Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com> Fixes: 9c3798eb ("seccomp: parse_config_v2()")
-
Wolfgang Bumiller authored
This can happen when the 'errno' action can't parse its supplied number. Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com> Fixes: f67c94d0 ("seccomp: parse_v2_rules()")
-