summaryrefslogtreecommitdiffstats
path: root/src/basic/stat-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* stat-util: fix error handling of statx()Yu Watanabe2023-07-211-10/+24
* stat-util: add missing S_IFLNK entry in inode_type_to_string()Lennart Poettering2023-06-201-0/+2
* stat-util: Add is_fs_type_at()Daan De Meyer2023-06-061-12/+5
* stat-util: Follow coding style in xstatfsat()Daan De Meyer2023-06-061-1/+0
* fs-util: Add XOpenFlags with XO_LABEL flag to have xopenat() MAC label files/...Daan De Meyer2023-05-311-1/+1
* stat-util: rename files_same() → inode_same()Lennart Poettering2023-05-191-1/+1
* stat-util: add _at() variant for files_same()Lennart Poettering2023-05-191-3/+5
* detect-virt: add message at debug levelZbigniew Jędrzejewski-Szmek2023-04-201-2/+2
* 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-141-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-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