[lxc-devel] [lxc/lxc] 540f93: Allow unsetting daemonize and close_fds

GitHub noreply at github.com
Fri Nov 29 21:06:05 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 540f932aeb28274e8e7ea1e8f3a8e5889b88e1d6
      https://github.com/lxc/lxc/commit/540f932aeb28274e8e7ea1e8f3a8e5889b88e1d6
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lxc/lxc_start.c
    M src/lxc/lxccontainer.c
    M src/lxc/lxccontainer.h
    M src/python-lxc/lxc.c
    M src/tests/attach.c
    M src/tests/cgpath.c
    M src/tests/concurrent.c
    M src/tests/console.c
    M src/tests/containertests.c
    M src/tests/createtest.c
    M src/tests/shutdowntest.c

  Log Message:
  -----------
  Allow unsetting daemonize and close_fds

As mentioned in a previous commit, this does two changes:
 - Make want_daemonize return a bool (false on failure, true on success)
 - Make both want_daemonize and want_close_all_fds take a "state"
   argument so the user can choose to unset those flags.

This commit also updates all occurences of those two functions and turns
the daemonize attribute from an int to a bool.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: c9d845b5183650d24b728a90dd8c60e3b50f928c
      https://github.com/lxc/lxc/commit/c9d845b5183650d24b728a90dd8c60e3b50f928c
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M src/lxc/lxccontainer.h

  Log Message:
  -----------
  Update doxygen doc for previous change

Reported-by: James Hunt <james.hunt at ubuntu.com>
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/c1ee94cfd3c9...c9d845b51836


More information about the lxc-devel mailing list