summaryrefslogtreecommitdiffstats
path: root/src/basic/env-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* basic/env-util: modernizationZbigniew Jędrzejewski-Szmek2021-01-151-10/+5
* basic/env-util: add little helper to call setenv or unsetenvZbigniew Jędrzejewski-Szmek2020-11-101-0/+12
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Revert "basic/env-util: (mostly) follow POSIX for what variable names are all...Zbigniew Jędrzejewski-Szmek2020-10-231-10/+7
* basic/env-util: make function shorterZbigniew Jędrzejewski-Szmek2020-10-231-4/+1
* basic/env-util: (mostly) follow POSIX for what variable names are allowedZbigniew Jędrzejewski-Szmek2020-10-121-10/+14
* Rename strv_split_extract() to strv_split_full()Zbigniew Jędrzejewski-Szmek2020-09-091-1/+1
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0
* tree-wide: get rid of strappend()Lennart Poettering2019-07-121-4/+4
* Rename EXTRACT_QUOTES to EXTRACT_UNQUOTEZbigniew Jędrzejewski-Szmek2019-06-281-1/+1
* Introduce sc_arg_max() helperZbigniew Jędrzejewski-Szmek2019-05-211-2/+2
* Drop some unnecessary newlinesZbigniew Jędrzejewski-Szmek2019-01-161-2/+0
* core: rework serializationLennart Poettering2018-10-261-33/+0
* env-util: drop ARG_MAX defineLennart Poettering2018-10-171-7/+3
* env-util: modernize strv_env_set() a bitLennart Poettering2018-10-171-9/+14
* env-util: modernize strv_env_replace()Lennart Poettering2018-10-171-8/+11