[lxc-devel] [lxc/lxc] 0a4be2: set the monitor process title to something useful

GitHub noreply at github.com
Fri Jan 30 14:14:25 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0a4be28d8cf24b529211ebc529136835645d76dd
      https://github.com/lxc/lxc/commit/0a4be28d8cf24b529211ebc529136835645d76dd
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  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 at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list