Files
Aydın Mercan 25f53937b4 implement systemd daemon notification and drop the libsystemd dependency
libsystemd, despite being useful, adds a huge surface area for just using
the sd_notify API. libsystemd's surface are has been exploited in the
past by the infamous xz backdoor [1].

Implement the systemd notification protocol by hand since it is just
sending newline-delimited datagrams to a UNIX socket. The code shouldn't
need more attention in the future since the notification protocol is
covered under systemd's stability promise [2].

We don't need to support VSOCK-backed service notifications since they
are only intended for virtual machine inits.

[1]: https://www.openwall.com/lists/oss-security/2024/03/29/4
[2]: https://systemd.io/PORTABILITY_AND_STABILITY/
2025-03-17 14:24:57 +03:00
..
2025-02-25 12:17:34 +01:00
2025-03-12 16:39:36 +01:00
2023-03-23 12:57:01 -07:00
…