summaryrefslogtreecommitdiff
path: root/src/basic/stat-util.c
Commit message (Expand)AuthorAgeFilesLines
* stat-util: Add xstatfsat()Daan De Meyer2023-04-011-0/+14
* stat-util: add inode_type_to_string() helper for showing mode_t inode type as...Lennart Poettering2023-03-291-0/+23
* basic/stat-util: remove unused null_or_empty_fd()Zbigniew Jędrzejewski-Szmek2023-03-281-11/+0
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-2/+2
* stat-util: Add verify_regular_at()Daan De Meyer2023-03-221-0/+12
* chase-symlinks: Remove unused ret_fd argumentsDaan De Meyer2023-03-141-1/+1
* tree-wide: change initialization to use EBADF instead of EBADFDZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* stat-util: introduce fd_is_read_only_fs()Yu Watanabe2022-12-151-7/+18
* stat-util: Move inode_hash_ops to stat-utilDaan De Meyer2022-11-101-0/+18
* stat-util: add statx_mount_same() to check if two stax refer to the same mountLennart Poettering2022-09-201-0/+13
* stat-util: add statx_inode_same() helper to check if two statx structs refer ...Lennart Poettering2022-09-201-0/+13
* stat-util: replace is_dir() + is_dir_fd() by single is_dir_full() callLennart Poettering2022-07-141-14/+6
* 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-061-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-041-1/+0
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop dirent.h when dirent-util.h is includedYu Watanabe2019-11-041-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-281-3/+1