libsystemd: new library, refactor sd-daemon.[ch] test code

This commit introduces a bare-bones replacement for libsystemd:

 - Build .so file and add --with-libsystemd to configure
 - Add capabilities support to test/src/serv.c
 - Update tests to account for a Finit built w/o libsystemd support

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-02 16:42:06 +02:00
1 parent 1396177706
commit da83462731
12 files changed
+100 -13

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#ifndef SD_DAEMON_H_
#define SD_DAEMON_H_
int sd_notify(int unset_environment, const char *state);
#endif /* SD_DAEMON_H_ */