]> git.ipfire.org Git - thirdparty/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>
Mon, 16 Mar 2015 17:35:55 +0000 (13:35 -0400)
commit807b8d68b64fa6194c45b0516651bd60d488138f
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