summaryrefslogtreecommitdiff
path: root/src/core/cgroup.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-19 15:52:02 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-20 16:37:06 +0200
commit2ba6ae6b2bd1fe17504b2768b1dbce9afc19c86d (patch)
tree059fa4927691a0721e224df0dc71efb77c7936d7 /src/core/cgroup.h
parent569554d9e5b4ee4165c87bd3fd2e59509b89ab44 (diff)
downloadsystemd-2ba6ae6b2bd1fe17504b2768b1dbce9afc19c86d.tar.gz
core: do an extra check if oom was triggered when handling sigchild
Should fix #12425.
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r--src/core/cgroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h
index be8be1b7e7..fe347ea114 100644
--- a/src/core/cgroup.h
+++ b/src/core/cgroup.h
@@ -197,6 +197,7 @@ int unit_watch_cgroup(Unit *u);
int unit_watch_cgroup_memory(Unit *u);
void unit_add_to_cgroup_empty_queue(Unit *u);
+int unit_check_oom(Unit *u);
int unit_attach_pids_to_cgroup(Unit *u, Set *pids, const char *suffix_path);