summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/libsystemd.sym
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-09-28 11:42:05 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-30 14:18:43 +0200
commitbaf3fdec27f0b3a1f3d39c7def2a778824cbee51 (patch)
treef16f0dc257b7d71e868827732391523dbc142175 /src/libsystemd/libsystemd.sym
parentsd-event: if signal nr has high bit set sd_event_add_signal() auto-block it v... (diff)
downloadsystemd-baf3fdec27f0b3a1f3d39c7def2a778824cbee51.tar.xz
systemd-baf3fdec27f0b3a1f3d39c7def2a778824cbee51.zip
sd-event: add helper for exiting event loop on SIGTERM/SIGINT
In many (most?) of our event loops we want to exit once SIGTERM/SIGINT is seen. Add a common helper for that, that does the right things in a single call.
Diffstat (limited to 'src/libsystemd/libsystemd.sym')
-rw-r--r--src/libsystemd/libsystemd.sym2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index 992a79fcc4..3b72320f0c 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -790,6 +790,8 @@ global:
sd_device_monitor_set_description;
sd_device_monitor_get_description;
+ sd_event_set_signal_exit;
+
sd_id128_string_equal;
sd_hwdb_new_from_path;