diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-19 15:52:02 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-20 16:37:06 +0200 |
commit | 2ba6ae6b2bd1fe17504b2768b1dbce9afc19c86d (patch) | |
tree | 059fa4927691a0721e224df0dc71efb77c7936d7 /src/core/cgroup.c | |
parent | 569554d9e5b4ee4165c87bd3fd2e59509b89ab44 (diff) | |
download | systemd-2ba6ae6b2bd1fe17504b2768b1dbce9afc19c86d.tar.gz |
core: do an extra check if oom was triggered when handling sigchild
Should fix #12425.
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r-- | src/core/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 6cab4b5ee0..042a742fa9 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -2607,7 +2607,7 @@ void unit_add_to_cgroup_empty_queue(Unit *u) { log_debug_errno(r, "Failed to enable cgroup empty event source: %m"); } -static int unit_check_oom(Unit *u) { +int unit_check_oom(Unit *u) { _cleanup_free_ char *oom_kill = NULL; bool increased; uint64_t c; |