Commit graph

2 commits

Author SHA1 Message Date
HAMANO Tsukasa
995a2d45bc refactoring
- remove __attribute__ destructor
- use sendto instead of connect/write
2024-05-09 08:26:41 +09:00
HAMANO Tsukasa
c14e3329c0 ITS#10214 Reduce library dependencies
Currently, slapd links libsystemd to notify service state to systemd.
However, libsystemd link several unnecessary libraries, which increases security risks.
The systemd documentation provides a method to send state notifications to systemd using a simple protocol without the need to link against libsystemd.

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html
2024-05-08 09:50:10 +09:00