summaryrefslogtreecommitdiff
path: root/src/test/test-fs-util.c
Commit message (Expand)AuthorAgeFilesLines
* fs-util: make sure open_mkdir_at() does something roughly sensible when invok...Lennart Poettering2023-04-251-0/+17
* test: split-out tests for chase() and friends to test-chase.cYu Watanabe2023-03-301-591/+1
* chase-symlinks: Add chase_and_open_parent() + at() variantDaan De Meyer2023-03-261-5/+29
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-90/+90
* fs-util: Allow xopenat() to reopen existing file descriptorsDaan De Meyer2023-03-231-1/+6
* fs-util: Add xopenat_lock()Daan De Meyer2023-03-221-1/+52
* copy: Move chattr arguments to full function signaturesDaan De Meyer2023-03-211-1/+1
* chase-symlinks: Add more chase_symlinks_at() helpersDaan De Meyer2023-03-211-0/+40
* chase-symlinks: Add CHASE_EXTRACT_FILENAME flagDaan De Meyer2023-03-211-0/+22
* Merge pull request #26784 from DaanDeMeyer/chase-fixDaan De Meyer2023-03-151-21/+68
|\
| * chase-symlinks: Rework open() functions and some chase flagsDaan De Meyer2023-03-151-21/+43
| * fs-util: Add xopenat()Daan De Meyer2023-03-141-0/+25
* | fs-util: Drop unlink_noerrno()Daan De Meyer2023-03-151-19/+0
|/
* chase-symlinks: Add chase_symlinks_at_and_open()Daan De Meyer2023-03-061-0/+6
* chase-symlinks: Add CHASE_MKDIR_0755Daan De Meyer2023-03-061-0/+14
* chase-symlinks: Add CHASE_PARENTDaan De Meyer2023-03-061-1/+23
* chase-symlinks: chase_symlinks_at() AT_FDCWD fixesDaan De Meyer2023-02-071-0/+36
* chase-symlinks: new chase_symlinks_and_unlink()Ludwig Nussel2023-01-191-0/+7
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-8/+8
* test-fs-util: skip part of test_chase_symlinks if machine-id is not initializedNick Rosbrook2022-12-141-1/+1
* sd-id128: make id128_read() or friends return -ENOPKG when the file contents ...Yu Watanabe2022-12-121-1/+1
* test-fs-util: Add relative path chase_symlinks() testsDaan De Meyer2022-12-071-1/+25
* chase-symlinks: add new flag for prohibiting any following of symlinksLennart Poettering2022-11-131-0/+9
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* test-fs-util: do not fail if machine-id is missingLuca Boccassi2022-10-251-1/+1
* tree-wide: drop de-constifying casts for strv iterationZbigniew Jędrzejewski-Szmek2022-05-081-2/+2
* fs-util: make sure openat_report_new() initializes return param also on shortcutLennart Poettering2022-03-231-0/+18
* fs-util: add openat_report_new() wrapper around openat()Lennart Poettering2022-03-211-0/+50
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* test: fix file descriptor leak in test-fs-utilYu Watanabe2022-02-231-1/+4
* test: allow to set NULL to intro or outroYu Watanabe2022-02-021-1/+1
* tests: rework test macros to not take code as parametersLennart Poettering2022-02-021-1/+6
* test: Use TEST macroJan Janssen2021-11-251-67/+17
* fs-util: add new helper open_mkdir_at()Lennart Poettering2021-11-171-0/+44
* umask-util: add helper that resets umask until end of current code blockLennart Poettering2021-11-121-1/+2
* fs-util: add helper that can split CIFS services namesLennart Poettering2021-10-271-0/+31
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* basic: split out sync() family of calls from fs-util.[ch] into new c/h fileLennart Poettering2021-10-051-0/+1
* fs-util: rewrite rmdir_parents() with path_find_last_component()Yu Watanabe2021-09-071-0/+55
* basic,shared: move a bunch of files to src/shared/Zbigniew Jędrzejewski-Szmek2021-06-241-33/+0
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-1/+1
* fs-util: make chase_symlinks() use path_find_first_component()Yu Watanabe2021-05-281-2/+2
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-1/+1
* test-fs-util: beef up test for conservative_renameat()Lennart Poettering2021-02-041-6/+22
* fs-util: rename conservative_rename() -> conservative_renameat()Yu Watanabe2021-01-221-7/+7
* fs-util: add conservative_rename() that suppresses unnecessary renamesLennart Poettering2020-12-021-0/+48
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fs-util: drop chmod_and_chown_unsafe() which is unused nowLennart Poettering2020-09-231-45/+0
* test: accept that char device 0/0 can now be created witout privilegesLennart Poettering2020-08-171-6/+6
* test-fs-util: skip encrypted path test if we get EACCESTopi Miettinen2020-08-171-5/+6