summaryrefslogtreecommitdiffstats
path: root/src/basic/os-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* os-util: use ENDSWITH_SET where appropriateMike Yuan2024-04-051-9/+4
* os-util: allow matching versioned image with extension-release fileLuca Boccassi2024-03-281-3/+52
* tree-wide: port various users over to the new getxattr_at_bool() callLennart Poettering2023-10-261-7/+1
* various: use _NEG_ macros to reduce indentationZbigniew Jędrzejewski-Szmek2023-08-161-8/+6
* sysext: change the table lookup string to be more verboseMaanya Goenka2023-07-141-1/+1
* chase: replace path_prefix_root_cwd() with chaseat_prefix_root()Yu Watanabe2023-04-181-2/+2
* os-util: introduce several _at() variants of os-release parsersYu Watanabe2023-04-111-14/+112
* os-util: make $SYSTEMD_OS_RELEASE prefixed with the root directoryYu Watanabe2023-04-111-1/+1
* os-util: merge parse_{extension,os}_release()Yu Watanabe2023-04-111-24/+9
* os-util: shorten temporal variable namesYu Watanabe2023-04-111-40/+28
* os-util: log one more error causeYu Watanabe2023-04-111-2/+3
* os-util: do not use 'r' for storing loop statusYu Watanabe2023-04-111-8/+6
* os-util: return earlier when unsupported image class is specifiedYu Watanabe2023-04-111-0/+3
* os-util: return earlier when extension release file is foundYu Watanabe2023-04-111-64/+65
* os-util: split-out open_os_release() from open_extension_release()Yu Watanabe2023-04-111-89/+101
* os-util: fix fd leak on failureYu Watanabe2023-04-111-1/+2
* os-util: make open_extension_release() return O_PATH fdYu Watanabe2023-04-111-12/+2
* os-util: drop fopen_extension_release()Yu Watanabe2023-04-111-30/+6
* os-util: drop redundant declaration of load_os_release_pairs()Yu Watanabe2023-04-101-15/+0
* os-util: use _IMAGE_CLASS_INVALIDYu Watanabe2023-04-101-3/+1
* os-util: move declaration of string table lookup for image classYu Watanabe2023-04-101-0/+10
* os-util: add a new confext image type and the ability to parse their release ...maanyagoenka2023-04-051-18/+45
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-12/+6
* tree-wide: fix typo and comment style updateYu Watanabe2023-02-151-1/+1
* os-util: optionally, return EOL time in os_release_support_ended()Lennart Poettering2023-01-241-3/+5
* os-util: accept SUPPORT_END= with empty string as explicit way to disable con...Lennart Poettering2023-01-241-3/+3
* os-util: when determining support end, don't treat /etc/os-release file as errorLennart Poettering2023-01-241-2/+2
* os-util: determine distro EOL in UTC, not local timezoneLennart Poettering2023-01-241-1/+1
* tree-wide: unify how we pick OS pretty name to displayLennart Poettering2023-01-241-0/+9
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* portable: allow caller to override extension-release name checkLuca Boccassi2022-10-121-18/+20
* os-util: split out extension-release xattr helperLuca Boccassi2022-10-121-25/+41
* tree-wide: add ERRNO_IS_XATTR_ABSENT() helperLennart Poettering2022-10-101-1/+1
* manager: add taint flag "support-ended"Zbigniew Jędrzejewski-Szmek2022-07-101-0/+35
* tree-wide: allow ASCII fallback for … in logsDavid Tardon2022-06-281-2/+4
* basic: add new variable $SYSTEMD_OS_RELEASE to override location of os-releaseZbigniew Jędrzejewski-Szmek2022-03-291-5/+11
* strv: declare iterator of FOREACH_STRING() in the loopZbigniew Jędrzejewski-Szmek2022-03-231-2/+0
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* Define FOREACH_DIRENT through FOREACH_DIRENT_ALLZbigniew Jędrzejewski-Szmek2021-12-151-1/+0
* Add debug logs of extension-release scanningZbigniew Jędrzejewski-Szmek2021-11-241-11/+24
* xattr-util: merge various getxattr()/listxattr() helpers into getxattr_at_mal...Lennart Poettering2021-10-071-1/+1
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* extension-release: search for other files if expected name not foundLuca Boccassi2021-08-171-2/+91
* basic/os-util: adjust indentationZbigniew Jędrzejewski-Szmek2021-03-071-6/+5
* basic/os-util: make the sentinel implicitZbigniew Jędrzejewski-Szmek2021-02-221-2/+2
* Move os-util.[ch] to basic/Zbigniew Jędrzejewski-Szmek2021-02-221-0/+213
* Move various files that don't need to be in basic/ to shared/Zbigniew Jędrzejewski-Szmek2018-11-201-117/+0
* fileio: drop "newline" parameter for env file parsersLennart Poettering2018-11-141-2/+2
* os-util: add helpers for finding /etc/os-releaseLennart Poettering2018-05-241-0/+117