diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-31 23:24:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-31 23:24:47 +0200 |
commit | ca949c9dcf17ea8d6512ac4c5c1a806ded9b8dc1 (patch) | |
tree | f5c0f995815f9b50ff54602a2a34bdc1ead51405 /src/cgroup.h | |
parent | 22f4096ca96acd504ac74e7dfad96f07edb6da51 (diff) |
service: rework killing logic so that we always kill the main process, even if it left our service cgroup
Related to:
http://bugzilla.redhat.com/show_bug.cgi?id=626477
Diffstat (limited to 'src/cgroup.h')
-rw-r--r-- | src/cgroup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgroup.h b/src/cgroup.h index 90c4572d65..e38d7e79e6 100644 --- a/src/cgroup.h +++ b/src/cgroup.h @@ -58,8 +58,8 @@ void cgroup_bonding_free_list(CGroupBonding *first); int cgroup_bonding_install(CGroupBonding *b, pid_t pid); int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid); -int cgroup_bonding_kill(CGroupBonding *b, int sig); -int cgroup_bonding_kill_list(CGroupBonding *first, int sig); +int cgroup_bonding_kill(CGroupBonding *b, int sig, Set *s); +int cgroup_bonding_kill_list(CGroupBonding *first, int sig, Set *s); void cgroup_bonding_trim(CGroupBonding *first, bool delete_root); void cgroup_bonding_trim_list(CGroupBonding *first, bool delete_root); |