]> git.proxmox.com Git - mirror_lxc.git/commit
set the monitor process title to something useful
authorTycho Andersen <tycho.andersen@canonical.com>
Fri, 30 Jan 2015 13:59:13 +0000 (14:59 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 30 Jan 2015 14:14:21 +0000 (15:14 +0100)
commit0a4be28d8cf24b529211ebc529136835645d76dd
treef0a256306d9054fc9a741ee944088cc4a0de3ac5
parent62ed104940747d135ffd71f513e51bf3d912d1d9
set the monitor process title to something useful

Instead of having a parent process that's called whatever the caller of the
library is called, we instead set it to "[lxc monitor] <lxcpath> <container>"

Closes #180

v2: check for null in tok for loop, only truncate environment when necessary

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c
src/lxc/utils.c
src/lxc/utils.h