summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fs-util: add racy RENAME_NOREPLACE fallback using access()Lennart Poettering2018-10-021-25/+28
* fs-util: make symlink_idempotent() optionally create relative linkYu Watanabe2018-09-241-1/+16
* fs-util: add new CHASE_NOFOLLOW flag to chase_symlinks()Franck Bui2018-07-301-2/+2
* fs-util: introduce mkfifoat_atomic() helperFranck Bui2018-07-301-0/+25
* tree-wide: port various bits over to open_parent()Lennart Poettering2018-07-231-7/+3
* fs-util: introduce open_parent() helperLennart Poettering2018-07-231-0/+28
* Merge pull request #9274 from poettering/comment-header-cleanupZbigniew Jędrzejewski-Szmek2018-06-141-5/+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
* | fs-util: introduce fchmod_and_chown()Yu Watanabe2018-06-141-0/+16
|/
* tree-wide: fix a number of log calls that use %m but have no errno setLennart Poettering2018-06-071-3/+3
* Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek2018-06-041-2/+2
* fs-util: don't alter errno in unlink_tempfilep()Lennart Poettering2018-05-191-1/+1
* Merge pull request #8981 from keszybz/ratelimit-and-dbusLennart Poettering2018-05-181-1/+1
|\
| * Use STRLEN in two placesZbigniew Jędrzejewski-Szmek2018-05-131-1/+1
* | fs-util,test: add helper to remove tempfilesZbigniew Jędrzejewski-Szmek2018-05-181-0/+9
|/
* basic/fs-util: remove logically dead codeZbigniew Jędrzejewski-Szmek2018-05-101-16/+3
* fs-util: introduce fchmod_opath()Franck Bui2018-04-241-0/+15
* Merge pull request #8708 from poettering/namespace-repeatLennart Poettering2018-04-181-3/+62
|\
| * fs-util: export how many iterations chase_symlinks() executes at maxLennart Poettering2018-04-181-1/+1
| * fs-util: add new CHASE_STEP flag to chase_symlinks()Lennart Poettering2018-04-181-2/+61
* | path-lookup: properly chase paths when reducing with root dir (#8750)Lennart Poettering2018-04-181-0/+40
* | util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering2018-04-181-8/+4
|/
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* fs-util: add shortcut for chase_symlinks() when it is called like open(O_PATH)Lennart Poettering2018-03-291-0/+10
* fs-util: add calls that combine chase_symlinks() and open()/opendir() in oneLennart Poettering2018-03-291-3/+86
* Merge pull request #8554 from poettering/chase-trail-slashZbigniew Jędrzejewski-Szmek2018-03-261-2/+4
|\
| * fs-util: add new CHASE_TRAIL_SLASH flag for chase_symlinks()Lennart Poettering2018-03-221-2/+4
* | macro: introduce new TAKE_FD() macroLennart Poettering2018-03-221-10/+3
* | macro: introduce TAKE_PTR() macroLennart Poettering2018-03-221-12/+7
|/
* basic/fs-util: skip fsync_directory_of_file() if /proc/self/fd/ is not availa...Zbigniew Jędrzejewski-Szmek2018-03-201-1/+12
* fs-util: move fsync_directory_of_file() into generic codeLennart Poettering2018-02-201-0/+30
* login,user-sessions: always warn when we fail to remove nologin fileZbigniew Jędrzejewski-Szmek2018-02-161-0/+11
* fs-util: add new unlinkat_deallocate() helperLennart Poettering2018-02-121-0/+69
* fs-util: drop readlink_and_make_absolute_root()Yu Watanabe2018-02-091-20/+0
* fs-util: drop readlink_and_canonicalize()Yu Watanabe2018-02-091-23/+0
* fs-util: chase_symlinks(): prevent double freeYu Watanabe2018-01-211-2/+2
* fs-util: use _cleanup_close_ attributeYu Watanabe2018-01-211-1/+2
* fs-util: chase_symlinks(): support empty rootYu Watanabe2018-01-191-7/+3
* fs-util: refuse taking a relative path to chase if "root" is specified and CH...Lennart Poettering2018-01-171-1/+7
* fs-util: extra chase_symlink() safety check on "path" parameterLennart Poettering2018-01-171-0/+3
* fs-util: extra safety checks on chase_symlinks() root parameterLennart Poettering2018-01-171-0/+8
* Merge pull request #7816 from poettering/chase-pidZbigniew Jędrzejewski-Szmek2018-01-151-0/+60
|\
| * fs-util: add new chase_symlinks() flag CHASE_OPENLennart Poettering2018-01-111-0/+17
| * fs-util: add new CHASE_SAFE flag to chase_symlinks()Lennart Poettering2018-01-111-0/+43
* | log: minimize includes in log.hLennart Poettering2018-01-111-0/+1
|/
* fs-util: rework touch_file() so that it can touch socket file nodesLennart Poettering2018-01-051-20/+37
* tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering2017-12-141-2/+2
* fs-util: remove comment about non-existing functionYu Watanabe2017-12-021-4/+1
* fs-util: chase_symlinks(): remove unnecessary slash at the headYu Watanabe2017-12-021-0/+8