| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | ||
| cgpath.c | ||
| clonetest.c | ||
| containertests.c | ||
| createtest.c | ||
| destroytest.c | ||
| get_item.c | ||
| getkeys.c | ||
| locktests.c | ||
| lxcpath.c | ||
| saveconfig.c | ||
| shutdowntest.c | ||
| startone.c |
Motivation for this change is to have the ability to get the run-time configuration items from a container, which may differ from its current on disk configuration, or might not be available any other way (for example lxc.network.0.veth.pair). In adding this ability it seemed there was room for refactoring improvements. Genericize the command infrastructure so that both command requests and responses can have arbitrary data. Consolidate all commands into command.c and name them consistently. This allows all the callback routines to be made static, reducing exposure. Return the actual allocated tty for the console command. Don't print the init pid in lxc_info if the container isn't actually running. Command processing was made more thread safe by removing the static buffer from receive_answer(). Refactored command response code to a common routine. Signed-off-by:Dwight Engen <dwight.engen@oracle.com> Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| cgpath.c | Loading commit data... | |
| clonetest.c | Loading commit data... | |
| containertests.c | Loading commit data... | |
| createtest.c | Loading commit data... | |
| destroytest.c | Loading commit data... | |
| get_item.c | Loading commit data... | |
| getkeys.c | Loading commit data... | |
| locktests.c | Loading commit data... | |
| lxcpath.c | Loading commit data... | |
| saveconfig.c | Loading commit data... | |
| shutdowntest.c | Loading commit data... | |
| startone.c | Loading commit data... |