On Mon, Jul 5, 2010 at 9:16 PM, Eric Brower <[email protected]> wrote:
> Header file documentation changes; cgroup_create_cgroup() and
[...]

Let's try this again...

Header file documentation changes; cgroup_create_cgroup() and
cgroup_create_cgroup_from_parent() return ECGROUPNOTEQUAL when create
is successful, but not all controller parameters are successfully
copied.

Signed-off-by: Eric Brower <[email protected]>

diff -ruPp a/include/libcgroup/groups.h b/include/libcgroup/groups.h
--- a/include/libcgroup/groups.h        2010-07-05 10:46:55.847414537 -0700
+++ b/include/libcgroup/groups.h        2010-07-05 15:54:48.646366167 -0700
@@ -175,6 +175,8 @@ void cgroup_free_controllers(struct cgro
  * @param ignore_ownership When nozero, all errors are ignored when setting
  *     owner of the group and/or its tasks file.
  *     @todo what is ignore_ownership good for?
+ * @retval #ECGROUPNOTEQUAL if not all specified controller parameters
+ *      were successfully set.
  */
 int cgroup_create_cgroup(struct cgroup *cgroup, int ignore_ownership);

@@ -196,6 +198,8 @@ int cgroup_create_cgroup(struct cgroup *
  * @param ignore_ownership When nozero, all errors are ignored when setting
  *     owner of the group and/or its tasks file.
  *     @todo what is ignore_ownership good for?
+ * @retval #ECGROUPNOTEQUAL if not all inherited controller parameters
+ *      were successfully set (this is expected).
  */
 int cgroup_create_cgroup_from_parent(struct cgroup *cgroup,
                int ignore_ownership);


-- 
E

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to