summaryrefslogtreecommitdiffstats
path: root/src/basic/env-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* env-util: introduce strv_env_get_merged()Yu Watanabe2024-10-311-0/+28
* env-util: replace 'char **' with 'char**'Yu Watanabe2024-10-311-2/+2
* tree-wide: use strv_extend_strv_consume() where appropriateMike Yuan2024-09-211-4/+4
* env-util: suppress unnecessary setenv() in setenvf()Lennart Poettering2024-07-191-0/+5
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* tree-wide: replace strv_sort() + strv_uniq() -> strv_sort_uniq()Yu Watanabe2024-06-171-2/+2
* env-util: remove unneeded DISABLE_WARNING_FORMAT_NONLITERALMike Yuan2024-03-121-2/+0
* env-util: also rename getenv_uint64_secure() → secure_getenv_uint64()Lennart Poettering2024-02-281-1/+1
* env-util: rename getenv_bool_secure() → secure_getenv_bool()Lennart Poettering2024-02-281-1/+1
* env-util: minor modernizationMike Yuan2024-02-151-10/+6
* env-util: Add helper to store current log levelAdrian Vovk2024-02-141-0/+12
* env-util: drop _pure_ for strv_env_get_nMike Yuan2024-01-291-2/+2
* env-util: don't use strlen_ptr if known non-NULLMike Yuan2024-01-291-4/+3
* tree-wide: replace string functions with fundamental functionsRose2024-01-111-2/+2
* env-util: add new setenvf() helperLennart Poettering2024-01-081-5/+26
* tree-wide: drop space between variable and an increment/decrementYu Watanabe2023-12-241-1/+1
* env-util: add strv_env_assignf() helperLennart Poettering2023-12-211-0/+29
* env-util: add helper to replace env blockLuca Boccassi2023-10-121-0/+19
* env-file: when resolving env vars in command lines, collect list of unset/inv...Lennart Poettering2023-06-271-56/+192
* env-util: make strv_env_get() a static inline wrapper around strv_env_get_n()Lennart Poettering2023-06-271-6/+2
* env-util: introduce proper flags type ReplaceEnvFlags for replace_env()Lennart Poettering2023-06-271-2/+2
* env-util: add explicit size check before strndupa() in strv_env_get_n()Lennart Poettering2023-06-271-0/+4
* env-util: modernize env_name_is_valid_n() a bitLennart Poettering2023-06-271-7/+8
* env-util: use more _cleanup_ in replace_env_argv()David Tardon2023-04-271-5/+4
* env-util: use _cleanup_ in replace_env_argv()David Tardon2023-04-271-7/+3
* env-util: rename variableDavid Tardon2023-04-271-26/+26
* env-util: use _cleanup_ in strv_env_delete()David Tardon2023-04-271-5/+3
* env-util: introduce strv_env_assign_many()Yu Watanabe2023-03-271-0/+42
* sysusers: make sp_lstchg shadow field reproducibleJohannes Schauer Marin Rodrigues2022-09-021-0/+12
* tree-wide: add global ascii_isdigit() + ascii_isalpha()Lennart Poettering2022-07-051-1/+1
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-15/+4
* env-util: replace unsetenv_erase() by new getenv_steal_erase() helperLennart Poettering2022-02-201-5/+22
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-10/+6
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-3/+3
* basic/env-util: correctly parse extended vars after non-extended vars (#20941)Andrew Soutar2021-10-061-0/+1
* env-util: add unsetenv_erase() helperLennart Poettering2021-08-171-0/+17
* basic/env-util: add a mode where we pull in the variable value from environmentZbigniew Jędrzejewski-Szmek2021-08-111-0/+26
* Add implicit sentinel to strv_env_merge()Zbigniew Jędrzejewski-Szmek2021-08-111-14/+26
* env-util: use strextend()Yu Watanabe2021-05-201-12/+3
* basic/env-util: silence two gcc warningsZbigniew Jędrzejewski-Szmek2021-03-311-7/+6
* env-util: fix parameter handling of parse_env_extension_hierarchies() + geten...Lennart Poettering2021-02-251-4/+2
* basic/env-util: add putenv_dup()Zbigniew Jędrzejewski-Szmek2021-02-221-0/+15
* env-util: refactor parsing helper for SYSTEMD_SYSEXT_HIERARCHIES out of sysextLuca Boccassi2021-02-171-0/+42
* env-util: add strv_env_pairs_get helperLuca Boccassi2021-02-171-0/+12
* Refactor strv_env_replace() into strv_env_replace_consume()Zbigniew Jędrzejewski-Szmek2021-02-161-20/+12
* basic/env-util: drop now-unused strv_env_set()Zbigniew Jędrzejewski-Szmek2021-02-161-28/+0
* basic/env-util: add strv_env_assign() helperZbigniew Jędrzejewski-Szmek2021-02-161-0/+23
* basic/env-util: add variant of strv_env_replace() that does strdup internallyZbigniew Jędrzejewski-Szmek2021-02-151-3/+19
* env-util: introduce env_update_systemd_exec_pid()Yu Watanabe2021-01-311-0/+23
* Allow control characters in environment variable valuesZbigniew Jędrzejewski-Szmek2021-01-191-13/+8