summaryrefslogtreecommitdiffstats
path: root/src/shared/specifier.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* specifier: avoid leaking memory on allocation errorFrantisek Sumsal2023-05-241-2/+2
* specifier: use _cleanup_David Tardon2023-04-271-5/+4
* specifier: always convert missing machine-id file to EUNATCHYu Watanabe2023-04-041-13/+3
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-3/+3
* basic: add RuntimeScope enumLennart Poettering2023-03-101-12/+12
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* sd-id128: make id128_read() or friends return -ENOPKG when the file contents ...Yu Watanabe2022-12-121-1/+1
* shared: Add specifier_uint64()Daan De Meyer2022-09-221-0/+6
* shared: Add specifier_id128() and specifier_uuid()Daan De Meyer2022-09-221-14/+26
* tree-wide: host_name → hostnameZbigniew Jędrzejewski-Szmek2022-04-111-3/+3
* shared/specifier: make sure we set the output variable even for void answersZbigniew Jędrzejewski-Szmek2022-04-111-1/+7
* Rename UnitFileScope to LookupScopeZbigniew Jędrzejewski-Szmek2022-03-291-13/+13
* shared/specifier: fix %u/%U/%g/%G when called as unprivileged userZbigniew Jędrzejewski-Szmek2022-03-291-8/+36
* shared/specifier: provide proper error messages when specifiers fail to read ...Zbigniew Jędrzejewski-Szmek2022-03-291-14/+19
* shared/specifier: clarify and add test for missing dataZbigniew Jędrzejewski-Szmek2022-03-291-1/+3
* core: introduce %R specifier for pretty hostnameFrantisek Sumsal2022-03-101-0/+15
* core: be a bit more defensive when resolving specifiersFrantisek Sumsal2022-03-101-0/+39
* core: add %y/%Y specifiers for the fragment path of the unitZbigniew Jędrzejewski-Szmek2022-01-211-0/+22
* shared/specifier: treat NULL the same as ""Zbigniew Jędrzejewski-Szmek2022-01-201-36/+20
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* tree-wide: make specifier expansion --root= awareLennart Poettering2021-06-241-40/+57
* sysusers: add a generic specifier table for common casesLennart Poettering2021-05-261-0/+6
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-12/+5
* tree-wide: refuse too long strings earlier in specifier_printf()Yu Watanabe2021-05-121-3/+10
* specifier: rename variableYu Watanabe2021-05-121-12/+12
* specifier: use SD_ID128_STRING_MAXYu Watanabe2021-05-121-2/+2
* shared: add new IMAGE_VERSION=/IMAGE_ID= field to /etc/os-releaseLennart Poettering2021-03-311-0/+8
* basic/os-util: make the sentinel implicitZbigniew Jędrzejewski-Szmek2021-02-221-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Add %l as specifier for the hostname without any domain componentZbigniew Jędrzejewski-Szmek2020-05-071-0/+11
* tree-wide: support a bunch of additional specifiersLennart Poettering2020-04-281-0/+48
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+1
* Mark *data and *userdata params to specifier_printf() as constZbigniew Jędrzejewski-Szmek2018-12-121-14/+14
* shared: add %g, %G specifiers for group / gid (#10368)Davide Cavalca2018-10-131-0/+18
* tree-wide: drop empty lines in commentsYu Watanabe2018-07-231-1/+0
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* core: introduce specifiers for /tmp and /var/tmpLennart Poettering2018-05-291-0/+35
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* shared/specifier: use realloc to free some memory after specifier expansionZbigniew Jędrzejewski-Szmek2018-03-281-2/+9
* shared/specifier: be less extravagant with memory allocationsZbigniew Jędrzejewski-Szmek2018-03-281-15/+5
* macro: introduce TAKE_PTR() macroLennart Poettering2018-03-221-2/+1
* shared: use _cleanup_ in specifier_printf (#7586)Zbigniew Jędrzejewski-Szmek2017-12-081-15/+10
* shared: fix a memory leakEvgeny Vereshchagin2017-12-061-2/+3
* Fix typoZbigniew Jędrzejewski-Szmek2017-12-061-1/+1
* Fail on unknown (alphanumerical) specifiersZbigniew Jędrzejewski-Szmek2017-12-061-1/+8
* specifier: unify specifier implementations for user-related specifiersLennart Poettering2017-11-291-0/+43
* specifier: add helper for escaping '%' characters to avoid making them subjec...Lennart Poettering2017-11-291-0/+30
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1