- 15 Dec, 2017 40 commits
-
-
Christian Brauner authored
When we remove a state client fd there's not reason to walk the whole list. We can simply break once we found and removed the fd. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
We want the loglevel that the user specified when starting the container because it overrides the default one set in the config. Closes #2003. Reported-by:
Felix Abecassis <fabecassis@nvidia.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
RicardoSanchezA authored
The arguments.{c,h} file should not be a part of liblxc itself. It should only be used for the lxc tools. Signed-off-by:RicardoSanchezA <ricardo.sanchez@utexas.edu> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
The lxc_log args have noghing to do with lxc.rootfs.path, and we need room for a NULL at end of arguments. How this bug was hidden for so long I don't know - I can only trigger it on certain systems under certain conditions, but it's definately wrong as is. Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Closes #1993. 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>
-
Pierre LALET authored
Signed-off-by:Pierre LALET <pierre.lalet@cea.fr>
-
Pierre LALET authored
Signed-off-by:Pierre LALET <pierre.lalet@cea.fr>
-
Abbas Ally authored
- Backing Store types are hard-coded (Not sure how to get programmatically) - Closes #1236 Signed-off-by:Abbas Ally <abbasally5@yahoo.com>
-
CC-Hsu authored
I followed the [changelog of Slackware-current]<http://www.slackware.com/changelog/>, and found that Slackware-current split hostname utility from util-linux package in Nov 17 2017. So I add the new package to the template. Signed-off-by:
Chia-Chun Hsu <a12321aabb@gmail.com>
-
i.Dark_Templar authored
Closes https://github.com/lxc/lxc/issues/1928Signed-off-by:
i.Dark_Templar <darktemplar@dark-templar-archives.net>
-
Marcos Paulo de Souza authored
Change conf.c to export function write_id_mapping, which will now be called inside main function of lxc_unshare.c. This is required because setuid syscalls only permits a new userns to set a new uid if the uid of parameter is mapped inside the ns using uid_map file[1]. So, just after the clone invocation, map the uid passed as parameter into the newly created user namespace, and put the current uid as the ID-outside-ns. After the mapping is done, setuid call succeeds. Closes: #494 [1] https://elixir.free-electrons.com/linux/latest/source/kernel/user_namespace.c#L286Signed-off-by:
Marcos Paulo de Souza <marcos.souza.org@gmail.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Felix Abecassis authored
In addition to the memory corruption fixed in ee3e84df, this function was also performing invalid memory accesses for the following inputs: - `lxc.net` - `lxc.net.` - `lxc.net.0.` - `lxc.network` - `lxc.network.0.` Signed-off-by:
Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
This prevent an infinite recursion in the case of "lxc.net.0. = a" Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
This caused the linked list of appenders to loop on itself, creating an infinite logging loop in `__lxc_log_append`. Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Felix Abecassis authored
Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:
AustinReichert <austinskyreichert@utexas.edu> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
AustinReichert authored
Signed-off-by:AustinReichert <austinskyreichert@utexas.edu>
-
Christian Brauner authored
Closes #1956. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
This was made necessary by changes to the overlay driver. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
This is beneficial for LXD as well. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Adrian Reber <areber@redhat.com>
-