summaryrefslogtreecommitdiffstats
path: root/src/basic/fd-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fd-util: check and log error properly for fd_reopen_propagate_append_and_posi...Mike Yuan2024-05-161-14/+11
* fd-util: Return 1 from fd_nonblock() if we actually change the modeDaan De Meyer2024-04-221-1/+4
* fs-utils: new wrapper fd_reopen_propagate_append_and_position()Lars Ellenberg2024-03-121-0/+43
* fd-util: beef up fd_verify_safe_flags() featuresLennart Poettering2024-03-111-5/+5
* fd-util: O_DIRECTORY is fine in fd_verify_safe_flags() tooLennart Poettering2024-03-011-1/+3
* fd-util: introduce fd_verify_safe_flagsMike Yuan2024-02-211-0/+30
* fd-util: Expose helper to pack fds into 3,4,5,...Adrian Vovk2024-02-191-0/+47
* missing: change our close_range() syscall wrapper to map glibc'sLennart Poettering2024-02-121-2/+2
* process-util: turn off O_NONBLOCK on stdio fds when rearranging fdsLennart Poettering2024-01-081-0/+13
* fd-util: don't eat up errors in fd_cloexec_manyMike Yuan2023-12-291-7/+6
* fd-util: modernizationMike Yuan2023-12-281-26/+26
* basic: add fds_are_same_mount() helperLuca Boccassi2023-12-051-26/+37
* fd-util: refuse O_CREAT in fd_reopenMike Yuan2023-11-081-11/+6
* fd-util: add new FORMAT_PROC_PID_FD_PATH() helperLennart Poettering2023-11-021-0/+8
* fd-uitl: rename PIPE_EBADF → EBADF_PAIR, and add EBADF_TRIPLETLennart Poettering2023-10-261-1/+1
* fd-util: use close_many() where appropriateLennart Poettering2023-10-181-2/+1
* fd-util: add new helper close_many_unset()Lennart Poettering2023-10-181-0/+7
* serialize: add serialize_fd_many() helperLennart Poettering2023-10-181-0/+7
* various: use _NEG_ macros to reduce indentationZbigniew Jędrzejewski-Szmek2023-08-161-8/+6
* tree-wide: drop _pure_ + _const_ from local, static functionsLennart Poettering2023-08-091-1/+1
* fd-util: do not call statx() twice when it does not provide mount IDYu Watanabe2023-07-211-2/+2
* fd-util: make path_is_root_at() not fail even when /proc is mountedYu Watanabe2023-07-211-8/+10
* fd-util: Add extra shortcut to path_is_root_at()Daan De Meyer2023-06-131-2/+2
* fd-util: Add path_is_root_at()Daan De Meyer2023-06-061-2/+11
* tree-wide: use parse_fd()David Tardon2023-05-051-1/+2
* fd-util: skip to check mount ID if kernel is too old and /proc is not mountedYu Watanabe2023-04-181-7/+15
* fd-util: slightly optimize dir_fd_is_root()Yu Watanabe2023-04-101-8/+12
* Merge pull request #27041 from poettering/fdstore-dumpDaan De Meyer2023-03-301-0/+13
|\
| * fd-util: add helper for converting O_RDONLY/WRONLY/RDWR to stringsLennart Poettering2023-03-291-0/+13
* | fd-util: make fd_get_path() support AT_FDCWDYu Watanabe2023-03-301-0/+5
|/
* fd-util: cover some corner cases with fd_reopen() on symlinksLennart Poettering2023-03-271-1/+14
* fd-util: make sure fd_reopen() works with AT_FDCWD systematicallyLennart Poettering2023-03-211-3/+9
* fd-util: Add dir_fd_is_root()Daan De Meyer2023-03-151-0/+52
* fd-util: introduce a simple helper to check a file descriptor has O_PATHYu Watanabe2023-02-161-0/+12
* tree-wide: use -EBADF moreYu Watanabe2022-12-201-1/+1
* basic/fd-util: rearrange variable declarationsZbigniew Jędrzejewski-Szmek2022-12-191-14/+10
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-18/+18
* all: avoid various "-Wcast-align=strict" warningsThomas Haller2022-12-091-1/+2
* fd-util: add new helper fd_reopen_conditional()Lennart Poettering2022-11-291-0/+31
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* fd-util: add new fd_cloexec_many() helperLennart Poettering2022-11-041-0/+19
* fd-util: make fd_in_set() (and thus close_all_fds()) handle invalidated fds i...Lennart Poettering2022-11-041-1/+9
* btrfs-util: move btrfs_defrag_fd() from fd-util.[ch]Yu Watanabe2022-10-251-15/+0
* fd-util: rename CLOSE_AND_REPLACE() -> close_and_replace()Yu Watanabe2022-09-171-1/+1
* glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount_attr co...Rudi Heitbaum2022-07-241-0/+2
* fd-util: rename loop_get_diskseq() -> fd_get_diskseq()Yu Watanabe2022-04-011-0/+23
* fd-util: use ERRNO_IS_XYZ() macros where appropriateLennart Poettering2022-02-141-12/+8
* tree-wide: port various places over to new stat_inode_same() helperLennart Poettering2022-02-141-8/+3
* Define FOREACH_DIRENT through FOREACH_DIRENT_ALLZbigniew Jędrzejewski-Szmek2021-12-151-1/+0
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-12/+3