summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-event/sd-event.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-02-28 19:01:52 +0100
committerGitHub <noreply@github.com>2024-02-28 19:01:52 +0100
commite72ae41b51a2738438e1f3669265d7c37d9d33f6 (patch)
treee63e9bf02843994665b058cb13dc109eedf897ad /src/libsystemd/sd-event/sd-event.c
parentMerge pull request #31526 from poettering/proc-cmdline-underscorify (diff)
parentenv-util: also rename getenv_uint64_secure() → secure_getenv_uint64() (diff)
downloadsystemd-e72ae41b51a2738438e1f3669265d7c37d9d33f6.tar.xz
systemd-e72ae41b51a2738438e1f3669265d7c37d9d33f6.zip
Merge pull request #31524 from poettering/secure-getenv-naming-fix
change naming order getenv_xyz_secure() → secure_getenv_xyz() to match glibc
Diffstat (limited to 'src/libsystemd/sd-event/sd-event.c')
-rw-r--r--src/libsystemd/sd-event/sd-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c
index 338609b186..c651d59502 100644
--- a/src/libsystemd/sd-event/sd-event.c
+++ b/src/libsystemd/sd-event/sd-event.c
@@ -1574,7 +1574,7 @@ static int child_exit_callback(sd_event_source *s, const siginfo_t *si, void *us
static bool shall_use_pidfd(void) {
/* Mostly relevant for debugging, i.e. this is used in test-event.c to test the event loop once with and once without pidfd */
- return getenv_bool_secure("SYSTEMD_PIDFD") != 0;
+ return secure_getenv_bool("SYSTEMD_PIDFD") != 0;
}
_public_ int sd_event_add_child(