]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#10214 Reduce library dependencies
authorHAMANO Tsukasa <hamano@osstech.co.jp>
Tue, 7 May 2024 10:59:17 +0000 (19:59 +0900)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 9 May 2024 17:10:49 +0000 (17:10 +0000)
commitf7c76e2daff6d2fc0607b22ddd113d406e0fa1fc
tree8b46d35fa7cb61e08db547233d3ce34151bb0f41
parent3279ce21e724fe559262c9eaf15436ef193b9209
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
build/top.mk
configure.ac
include/sd-notify.h [new file with mode: 0644]
servers/lloadd/Makefile_server.in
servers/lloadd/daemon.c
servers/slapd/daemon.c