[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] [lxc/lxc] 540f93: Allow unsetting daemonize and close_fds
From:       noreply () github ! com (GitHub)
Date:       2013-11-29 21:06:05
Message-ID: 529901bd8be7d_102b767d4812021f () hookshot-fe2-pe1-prd ! aws ! github ! net ! mail
[Download RAW message or body]

  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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic