]> git.ipfire.org Git - thirdparty/systemd.git/commit
oomd: Fix Killed signal reason being lost (#40689)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Feb 2026 05:53:46 +0000 (14:53 +0900)
committerGitHub <noreply@github.com>
Tue, 17 Feb 2026 05:53:46 +0000 (14:53 +0900)
commitd9e078fe6815fd32142a84655995c62692a909f0
tree6fc9563f986f41807c7f8f63ffacdb5bb036b2dc
parent48c84fe730a1590b2c3ed078283ea283676a2a6f
parentb10e5a60aa1cf19eece75e3152ce37d48ca26f72
oomd: Fix Killed signal reason being lost (#40689)

Emitting "oom" doesn't mesh with the org.freedesktop.oom1.Manager
Killed() API contract, which defines "memory-used" and "memory-pressure"
as possible reasons. Consumers that key off reason thus will either lose
policy attribution or may reject the unknown value completely.

Plumb the reason through so it is visible to consumers.