diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-27 03:16:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-27 03:16:49 +0200 |
commit | 4fbf50b38e847aaa2932ac542e20c62f0c1605a3 (patch) | |
tree | 821c1cbd6d883b277940d5eb8db64d2365132bd9 /src/cgroup.h | |
parent | 10717a1a8d48e50463abf2f6b47e2618eaa529e7 (diff) |
service: when after startup only one process is in a service's cgroup, assume it is the main process
Diffstat (limited to 'src/cgroup.h')
-rw-r--r-- | src/cgroup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgroup.h b/src/cgroup.h index e38d7e79e6..d6d5c86f10 100644 --- a/src/cgroup.h +++ b/src/cgroup.h @@ -71,6 +71,9 @@ CGroupBonding *cgroup_bonding_find_list(CGroupBonding *first, const char *contro char *cgroup_bonding_to_string(CGroupBonding *b); +pid_t cgroup_bonding_search_main_pid(CGroupBonding *b); +pid_t cgroup_bonding_search_main_pid_list(CGroupBonding *b); + #include "manager.h" int manager_setup_cgroup(Manager *m); |