diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-03 23:55:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-03 23:55:30 +0100 |
commit | 430c18ed7f576fd9041b0a02e7c4210bdd020a25 (patch) | |
tree | 0ea2aa6c3d7c434c1c8b5dd2c91ca7b54a7771c4 /src/cgroup-util.h | |
parent | 2b590e135f53a1bd3e771bdc555f7bf28c4cd232 (diff) |
kill: always send SIGCONT after SIGTERM
When we kill a process to terminate it make sure to send SIGCONT to
ensure it is unpaused and processes the signal.
Diffstat (limited to 'src/cgroup-util.h')
-rw-r--r-- | src/cgroup-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgroup-util.h b/src/cgroup-util.h index 2cb6ede4a4..73df9697ed 100644 --- a/src/cgroup-util.h +++ b/src/cgroup-util.h @@ -37,8 +37,8 @@ int cg_read_pid(FILE *f, pid_t *_pid); int cg_enumerate_subgroups(const char *controller, const char *path, DIR **_d); int cg_read_subgroup(DIR *d, char **fn); -int cg_kill(const char *controller, const char *path, int sig, bool ignore_self, Set *s); -int cg_kill_recursive(const char *controller, const char *path, int sig, bool ignore_self, bool remove, Set *s); +int cg_kill(const char *controller, const char *path, int sig, bool sigcont, bool ignore_self, Set *s); +int cg_kill_recursive(const char *controller, const char *path, int sig, bool sigcont, bool ignore_self, bool remove, Set *s); int cg_kill_recursive_and_wait(const char *controller, const char *path, bool remove); int cg_migrate(const char *controller, const char *from, const char *to, bool ignore_self); |