]> git.ipfire.org Git - thirdparty/systemd.git/commit
oomd: move SubscriptionTaken Varlink error out of generic Varlink code
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Sep 2023 09:49:38 +0000 (11:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 Oct 2023 09:49:38 +0000 (11:49 +0200)
commit7dce9ead5d92703480afc312d2eb30b441348bf6
tree24270525ec52ea5c78f0da98778369dc2ec40b06
parentabef4a7b3c4625e85e4c4f8b5a17a04260b845b2
oomd: move SubscriptionTaken Varlink error out of generic Varlink code

This error is a private error returned by PID 1 to oomd. It's internal,
and very specific to the use-case. Hence it should not be part of the
org.varlink.service interface (which isn't really our namespace anyway).

Hence, let's clean this up and move it over to the ManagedOOM varlink
interface of PID, where it belongs.

Since this is a private protocol of our two daemons, and the client
(i.e. oomd) doesn't explicitly test for this error anyway we can just
move it over without ill effects.
src/core/core-varlink.c
src/shared/varlink-io.systemd.ManagedOOM.c
src/shared/varlink.h