History log of /lxc/src/tests/may_control.c
Revision Date Author Comments Expand
0b98289ef95e83fcd493ba6688e57aa8b4fb53f7 02-Jan-2014 Andrey Mazo <mazo@telum.ru>

Bring static and const to tests too Signed-off-by: Andrey Mazo <mazo@telum.ru> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

8cd80b50efe2107ac351bfd0285050dd183398e7 25-Nov-2013 Stéphane Graber <stgraber@ubuntu.com>

Convert all files to utf-8 Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

b494d2ddf769220da1ef75fd24275ce68cdf297c 30-Sep-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

add c->may_control This is an api function which will return false if the container is running, and the caller may not talk to its monitor over its command socket. Otherwise - if the container is not running, or the caller may access it - it returns true. We can use this in several tools early on to prevent the segvs etc which we currently get. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>