summaryrefslogtreecommitdiffstats
path: root/src/basic/stat-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* stat-util: fix dir_is_empty() with hidden/backup filesLennart Poettering2022-05-041-13/+25
* stat-util: ignore hidden_or_backup_file when checking if dir is emptyLuca Boccassi2022-05-011-1/+1
* basic: split out dev_t related calls into new devno-util.[ch]Lennart Poettering2022-04-131-95/+0
* basic/stat-util: add null_or_empty_path_with_root()Zbigniew Jędrzejewski-Szmek2022-03-291-5/+10
* tree-wide: port various places over to new stat_inode_same() helperLennart Poettering2022-02-141-2/+1
* stat-util: add helper stat_inode_same() for comparing stat's st_dev/st_ino in...Lennart Poettering2022-02-141-5/+13
* stat-util: introduce path_is_network_fs()Yu Watanabe2022-02-041-0/+9
* tree-wide: explicitly unpoison getdents64() memoryLennart Poettering2021-10-251-0/+2
* stat-util: make sure dir_is_empty_at() does something useful in all casesLennart Poettering2021-10-251-0/+6
* stat-util: optimize dir_is_empty_at() a bit, by using getdents64()Lennart Poettering2021-10-251-7/+13
* stat-util: specify O_DIRECTORY when reopening dir in dir_is_empty_at()Lennart Poettering2021-10-251-1/+1
* basic: use filesystem databaseIago López Galeiras2021-10-061-10/+5
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-1/+2
* stat-util: fix dir_is_empty_at without pathLuca Boccassi2021-02-161-5/+10
* stat-util: don't try to open path on path_is_temporary_fs()Lennart Poettering2021-01-071-4/+3
* Merge pull request #17431 from msekletar/udev-link-update-raceZbigniew Jędrzejewski-Szmek2020-11-101-1/+2
|\
| * basic/stat-util: make mtime check stricter and use entire timestampMichal Sekletár2020-11-061-1/+2
* | license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|/
* stat-util: provide single fallback implementation of statx()Lennart Poettering2020-09-031-0/+57
* stat-util: trivial empty_or_null() tweaksLennart Poettering2020-05-291-3/+7
* stat-util: add stat_inode_unmodified() helper that checks if an inode was mod...Lennart Poettering2020-05-131-0/+21
* stat-util: add simpler helper for checking if /proc/ is mountedLennart Poettering2020-04-231-0/+12
* stat-util: no need to open a file to check fs typeLennart Poettering2020-04-231-4/+3
* *: convert amenable fdopendir() calls to take_fdopendir()Vito Caputo2020-03-311-2/+2
* tree-wide: drop magic.h when missing_magic.h is includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop dirent.h when dirent-util.h is includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+2
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-1/+1
* util: split out namespace related stuff into a new namespace-util.[ch] pairLennart Poettering2019-03-131-46/+0
* Merge pull request #11345 from kirbyfan64/tmpfiles-c-emptyZbigniew Jędrzejewski-Szmek2019-01-151-3/+12
|\
| * stat-util: Add dir_is_empty_atRyan Gonzalez2019-01-081-3/+12
* | stat-util: remove spurious newlineLennart Poettering2019-01-071-1/+0
|/
* stat-util: add new APIs device_path_make_{major_minor|canonical}() and device...Lennart Poettering2018-11-291-0/+98
* stat-util: add fd_verify_directory(), similar to fd_verify_regular()Lennart Poettering2018-11-261-0/+23
* nspawn: beef up netns checking a bit, for compat with old kernelsLennart Poettering2018-10-311-4/+36
* util: do not assign return value if it is not used (#10552)Yu Watanabe2018-10-291-3/+1
* basic/stat-util: introduce is_dir_fd()Franck Bui2018-07-301-0/+11
* 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
* os-util: add helpers for finding /etc/os-releaseLennart Poettering2018-05-241-26/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* stat-util: fix fd_is_network_ns()Lennart Poettering2018-03-231-1/+2
* stat-util: unify code that checks whether something is a regular fileLennart Poettering2018-02-201-0/+29
* journal: move code that checks for network fs to stat-util.[ch]Lennart Poettering2018-02-121-4/+25
* log: minimize includes in log.hLennart Poettering2018-01-111-2/+3
* nspawn: introduce an option for specifying network namespace pathDongsu Park2017-12-131-0/+12
* util-lib: rename path_check_fstype to path_is_fs_typeZbigniew Jędrzejewski-Szmek2017-11-301-1/+1
* util-lib: rename fd_check_fstype to fd_is_fs_typeZbigniew Jędrzejewski-Szmek2017-11-301-2/+2
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1