summaryrefslogtreecommitdiff
path: root/src/test/test-fs-util.c
Commit message (Expand)AuthorAgeFilesLines
* test-fs-util: don't validate mode of symlinksLennart Poettering2019-05-241-1/+0
* tests: add simple test case for chmod_and_chown()Lennart Poettering2019-05-241-0/+46
* test-fs-util: test chase_symlinks with user-owned dirsDavid Michael2019-02-281-0/+24
* util.h: add new UNPROTECT_ERRNO macroLennart Poettering2019-02-081-3/+3
* Revert "nss: prevent PROTECT_ERRNO from squashing changes to *errnop"Zbigniew Jędrzejewski-Szmek2019-01-101-3/+3
* nss: prevent PROTECT_ERRNO from squashing changes to *errnopSam Morris2019-01-101-3/+3
* Merge pull request #10984 from fbuihuu/tmpfiles-be-more-explicit-with-unsafe-...Lennart Poettering2018-12-101-2/+2
|\
| * fs-util: make chase_symlink() returns -ENOLINK when unsafe transitions are metFranck Bui2018-12-101-2/+2
* | test: remove duplicate #includeLennart Poettering2018-12-021-1/+0
* | util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-1/+1
|/
* test: fix memleak in test-fs-utilYu Watanabe2018-10-041-6/+6
* test-fs-util: run all tests on the specified directoryZbigniew Jędrzejewski-Szmek2018-10-041-33/+79
* test-fs-util: simplify testdir creationZbigniew Jędrzejewski-Szmek2018-10-031-8/+4
* test: add test case for rename_noreplace()Lennart Poettering2018-10-021-0/+72
* test-fs-util: skip some tests when running in unprivileged containerYu Watanabe2018-09-211-1/+8
* fs-util: add new CHASE_NOFOLLOW flag to chase_symlinks()Franck Bui2018-07-301-0/+25
* 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
* test: drop unused variablesYu Watanabe2018-04-241-1/+1
* fs-util: add new CHASE_STEP flag to chase_symlinks()Lennart Poettering2018-04-181-1/+44
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* fd-util: introduce fd_reopen() helper for reopening an fdLennart Poettering2018-03-291-5/+1
* tree-wide: warn when a directory path already exists but has bad mode/owner/typeZbigniew Jędrzejewski-Szmek2018-03-231-1/+1
* basic/mkdir: convert bool flag to enumZbigniew Jędrzejewski-Szmek2018-03-221-1/+1
* fs-util: move fsync_directory_of_file() into generic codeLennart Poettering2018-02-201-0/+10
* fs-util: add new unlinkat_deallocate() helperLennart Poettering2018-02-121-0/+26
* tree-wide: port all code to use safe_getcwd()Lennart Poettering2018-01-171-1/+1
* fs-util: add new chase_symlinks() flag CHASE_OPENLennart Poettering2018-01-111-1/+27
* fs-util: add new CHASE_SAFE flag to chase_symlinks()Lennart Poettering2018-01-111-0/+27
* fs-util: rework touch_file() so that it can touch socket file nodesLennart Poettering2018-01-051-0/+87
* test-fs-util: add more tests for chase_symlinks()Yu Watanabe2017-12-031-0/+20
* test-fs-util: save current directory nameYu Watanabe2017-12-031-0/+5
* util-lib: use trailing slash in chase_symlinks, fd_is_mount_point, path_is_mo...Zbigniew Jędrzejewski-Szmek2017-11-301-13/+34
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* fs-util: add access_fd() which is like access() but for fdsLennart Poettering2017-11-171-0/+27
* tree-wide: do not work in assert() (#7271)Yu Watanabe2017-11-071-3/+3
* mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()Yu Watanabe2017-10-061-1/+1
* test-fs-util: re-order test_readlink_and_make_absolute and test_get_files_in_...Mike Gilbert2017-07-041-1/+1
* fs-util: unify code we use to check if dirent's d_name is "." or ".."Lennart Poettering2017-02-021-0/+11
* util-lib: Fix chase_symlinks() with absolute symlinks (#5185)3chas32017-01-311-0/+7
* test-fs-util: fix memleakEvgeny Vereshchagin2016-12-141-0/+1
* util-lib: rename CHASE_NON_EXISTING → CHASE_NONEXISTENTLennart Poettering2016-12-011-4/+4
* fs-util: add new CHASE_NON_EXISTING flag to chase_symlinks()Lennart Poettering2016-12-011-11/+45
* fs-util: add flags parameter to chase_symlinks()Lennart Poettering2016-12-011-14/+14
* fs-util: change chase_symlinks() behaviour in regards to escaping the root dirLennart Poettering2016-12-011-4/+4
* test-fs-util: add a test case with repeated ".." parts that would escape the ...Zbigniew Jędrzejewski-Szmek2016-12-011-0/+31
* namespace: chase symlinks for mounts to set up in userspaceLennart Poettering2016-09-251-1/+95
* fileio: simplify mkostemp_safe() (#4090)Topi Miettinen2016-09-131-1/+1
* test-fs-util: also empty TEMP and TMP env vars (#4121)Marc-Antoine Perennou2016-09-101-1/+25
* util-lib: rework /tmp and /var/tmp handling codeLennart Poettering2016-08-041-33/+21