summaryrefslogtreecommitdiff
path: root/src/basic
Commit message (Expand)AuthorAgeFilesLines
* log: Add LOG_SET_PREFIX() macroDaan De Meyer2023-03-292-11/+37
* Merge pull request #27040 from keszybz/empty-path-skip-cleanupYu Watanabe2023-03-292-12/+0
|\
| * basic/stat-util: remove unused null_or_empty_fd()Zbigniew Jędrzejewski-Szmek2023-03-282-12/+0
* | Merge pull request #26941 from bluca/portable_versionLuca Boccassi2023-03-284-0/+29
|\ \ | |/ |/|
| * strv: add helper to find value in key/value pairs from list of keysLuca Boccassi2023-03-282-0/+14
| * env: add load_env_file_pairs_fd()Luca Boccassi2023-03-282-0/+15
* | process-util: introduce get_process_cmdline_strv()Yu Watanabe2023-03-282-0/+23
|/
* env-util: introduce strv_env_assign_many()Yu Watanabe2023-03-282-0/+44
* fd-util: cover some corner cases with fd_reopen() on symlinksLennart Poettering2023-03-271-1/+14
* Merge pull request #26961 from DaanDeMeyer/chase-and-pinDaan De Meyer2023-03-272-3/+32
|\
| * chase-symlinks: Add chase_and_open_parent() + at() variantDaan De Meyer2023-03-262-0/+32
| * chase-symlinks: Allow optional path with CHASE_EXTRACT_FILENAMEDaan De Meyer2023-03-241-3/+0
* | tree-wide: port various places to find_line_startswith()Lennart Poettering2023-03-242-16/+6
* | string-util: add new helper for finding line starting with specific string in...Lennart Poettering2023-03-242-0/+25
|/
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-2413-102/+93
* Merge pull request #26958 from yuwata/nulstr-optionally-drop-trailing-nulstrDaan De Meyer2023-03-243-11/+12
|\
| * process-util: drop trailing NUls before parsing the nulstrYu Watanabe2023-03-241-9/+3
| * nulstr-util: introduce strv_parse_nulstr_full() that optionally drop trailing...Yu Watanabe2023-03-242-2/+9
* | proc-cmdline: make proc_cmdline_parse_given() staticYu Watanabe2023-03-242-2/+1
* | proc-cmdline: use proc_cmdline_key_string() when we search for keyYu Watanabe2023-03-241-1/+1
* | proc-cmdline: rename variableYu Watanabe2023-03-241-3/+3
* | proc-cmdline: insert an empty line between variable declaration and assertionYu Watanabe2023-03-241-0/+1
|/
* chase-symlinks: Use xopenat() instead of open_mkdir_at()Daan De Meyer2023-03-231-1/+1
* Merge pull request #26949 from DaanDeMeyer/xopenat-reopenLuca Boccassi2023-03-231-0/+5
|\
| * fs-util: Allow xopenat() to reopen existing file descriptorsDaan De Meyer2023-03-231-0/+5
* | fileio: add new helper fdopen_independent()Lennart Poettering2023-03-233-10/+34
|/
* Merge pull request #26936 from DaanDeMeyer/xopenat-lockDaan De Meyer2023-03-234-23/+73
|\
| * fs-util: Add xopenat_lock()Daan De Meyer2023-03-224-23/+73
* | Merge pull request #26916 from DaanDeMeyer/log-context-refDaan De Meyer2023-03-222-28/+90
|\ \ | |/ |/|
| * log: Add key/value support to the log contextDaan De Meyer2023-03-212-17/+61
| * log: Avoid pushing the same fields more than once on the log contextDaan De Meyer2023-03-212-16/+34
* | core: Settle log target if we're going to be closing all fdsDaan De Meyer2023-03-223-0/+20
* | stat-util: Add verify_regular_at()Daan De Meyer2023-03-222-0/+13
* | Merge pull request #26828 from DaanDeMeyer/tmpfile-atDaan De Meyer2023-03-214-16/+38
|\ \
| * | tmpfile-util: Add open_tmpfile_linkable_at() and link_tmpfile_at()Daan De Meyer2023-03-212-12/+20
| * | fs-util: Add open_parent_at()Daan De Meyer2023-03-212-4/+18
* | | fd-util: make sure fd_reopen() works with AT_FDCWD systematicallyLennart Poettering2023-03-211-3/+9
* | | chase-symlinks: Add more chase_symlinks_at() helpersDaan De Meyer2023-03-212-0/+183
* | | chase-symlinks: Return zero from access() and stat() helpersDaan De Meyer2023-03-211-16/+8
* | | chase-symlinks: Add CHASE_EXTRACT_FILENAME flagDaan De Meyer2023-03-212-9/+30
|/ /
* | lock-util: Add make_lock_file_at()Daan De Meyer2023-03-212-6/+22
|/
* strv: introduce strv_print_full()Yu Watanabe2023-03-202-3/+6
* Merge pull request #26879 from mrc0mmand/cocciYu Watanabe2023-03-191-1/+1
|\
| * tree-wide: simplify x ? x : y to x ?: y where applicableFrantisek Sumsal2023-03-181-1/+1
* | os-util: add missing headersYu Watanabe2023-03-171-0/+3
* | terminal-util: Don't assume terminal is dumb if connected to /dev/nullDaan De Meyer2023-03-161-1/+17
|/
* Merge pull request #26784 from DaanDeMeyer/chase-fixDaan De Meyer2023-03-155-108/+132
|\
| * chase-symlinks: Add more assertionsDaan De Meyer2023-03-151-18/+13
| * chase-symlinks: Rework open() functions and some chase flagsDaan De Meyer2023-03-152-49/+62
| * chase-symlinks: Remove unused ret_fd argumentsDaan De Meyer2023-03-143-14/+7