diff options
author | Luca Boccassi <bluca@debian.org> | 2024-02-28 19:01:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 19:01:52 +0100 |
commit | e72ae41b51a2738438e1f3669265d7c37d9d33f6 (patch) | |
tree | e63e9bf02843994665b058cb13dc109eedf897ad /src/libsystemd/sd-event/sd-event.c | |
parent | Merge pull request #31526 from poettering/proc-cmdline-underscorify (diff) | |
parent | env-util: also rename getenv_uint64_secure() → secure_getenv_uint64() (diff) | |
download | systemd-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.c | 2 |
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( |