summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* fs-util: rename xopenat() -> xopanat_full()Yu Watanabe2024-02-151-2/+8
* fs-util: Add XO_SUBVOLUME flag for xopenat()Daan De Meyer2023-08-141-1/+2
* fs-util: Add XOpenFlags with XO_LABEL flag to have xopenat() MAC label files/...Daan De Meyer2023-05-311-2/+6
* fs-util: Add xopenat_lock()Daan De Meyer2023-03-221-0/+3
* fs-util: Add open_parent_at()Daan De Meyer2023-03-211-1/+4
* Merge pull request #26784 from DaanDeMeyer/chase-fixDaan De Meyer2023-03-151-0/+2
|\
| * fs-util: Add xopenat()Daan De Meyer2023-03-141-0/+2
* | fs-util: Drop unlink_noerrno()Daan De Meyer2023-03-151-3/+1
|/
* fs-util: Add chown_and_chmod_at()Daan De Meyer2022-11-091-1/+4
* fs-util: add mknodat_atomic()Lennart Poettering2022-09-231-1/+6
* fs-util: make mkfifo_atomic() just a shortcut for mkfifoat_atomic()Lennart Poettering2022-09-231-1/+3
* fs-util: replace symlink_atomic() by symlinkat_atomic()Lennart Poettering2022-09-231-2/+2
* fs-util,label: introduce symlink_atomic_full() and symlink_atomic_full_label()Yu Watanabe2022-09-131-1/+4
* fs-util: make touch() an inline functionLennart Poettering2022-08-171-1/+5
* fs-util: add openat_report_new() wrapper around openat()Lennart Poettering2022-03-211-0/+2
* fs-util: add new helper open_mkdir_at()Lennart Poettering2021-11-171-0/+2
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-1/+1
* fs-util: add helper that can split CIFS services namesLennart Poettering2021-10-271-0/+2
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-23/+0
* basic: split out inotify-related calls from fs-util.h → inotify-util.hLennart Poettering2021-10-051-16/+0
* basic: split out sync() family of calls from fs-util.[ch] into new c/h fileLennart Poettering2021-10-051-8/+0
* fs-util: add fsync_path_and_parent_at()Lennart Poettering2021-07-081-0/+1
* fs-util: add API for fsync()ing parent dir of pathLennart Poettering2021-07-081-0/+1
* basic,shared: move a bunch of files to src/shared/Zbigniew Jędrzejewski-Szmek2021-06-241-2/+0
* tmpfiles: add '=' action modifier.Allen Webb2021-06-081-0/+2
* basic: allow copy_rights() to work without mounted /procZbigniew Jędrzejewski-Szmek2021-05-241-1/+4
* journald: Retry if posix_fallocate returned -1 (EINTR)Igor Zhbanov2021-04-211-0/+2
* tree-wide: coccinelle fixesFrantisek Sumsal2021-03-181-4/+3
* fs-util: rename conservative_rename() -> conservative_renameat()Yu Watanabe2021-01-221-1/+4
* fs-util/rm-rf: improve remove+free destructors to take and return NULLLennart Poettering2021-01-191-2/+11
* fs-util: make laccess() macro follow our usual error propagationLennart Poettering2021-01-151-1/+2
* fs-util: add conservative_rename() that suppresses unnecessary renamesLennart Poettering2020-12-021-0/+2
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Merge pull request #17172 from keszybz/read-login-defsLennart Poettering2020-10-021-1/+1
|\
| * basic/fileio: add chase_symlinks_and_fopen_unlocked()Zbigniew Jędrzejewski-Szmek2020-10-011-1/+1
* | fs-util: add new futimens_opath() helperLennart Poettering2020-09-281-0/+2
|/
* fs-util: drop chmod_and_chown_unsafe() which is unused nowLennart Poettering2020-09-231-1/+0
* fs-util: add stat_warn_permissions() that operates on struct stat instead of fdLennart Poettering2020-06-021-0/+1
* fs-util: teach unlinkat_deallocate() a simple scheme for overwriting for erasingLennart Poettering2020-05-191-1/+7
* fs-util: add helper path_is_encrypted() that checks if a file system is encry...Lennart Poettering2020-05-071-0/+2
* tree-wide: spellcheck using codespellZbigniew Jędrzejewski-Szmek2020-04-161-1/+1
* basic/fs-util: add a version of chmod_and_chown that doesn not use /procZbigniew Jędrzejewski-Szmek2020-03-031-0/+1
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-9/+7
* fs-util: introduce inotify_add_watch_and_warn() helperFranck Bui2019-10-051-0/+1
* Merge pull request #13194 from keszybz/chase-symlinks-testingLennart Poettering2019-07-261-8/+10
|\
| * fs-util: CHASE_NOFOLLOW is not limited to CHASE_OPENZbigniew Jędrzejewski-Szmek2019-07-261-2/+3
| * fs-util: adjust punctuation in commentsZbigniew Jędrzejewski-Szmek2019-07-191-8/+9
* | fs-util: add fsync_full() helperLennart Poettering2019-07-251-0/+1
|/
* util: introduce PTR_TO_MODE and MODE_TO_PTR macrosYu Watanabe2019-05-301-0/+7
* fs-util.h: add missing sys/stat includeAndrej Valek2019-05-171-0/+1