summaryrefslogtreecommitdiffstats
path: root/src/basic/fd-util.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* fd-util: introduce fd_validate() helperLennart Poettering2024-10-081-0/+1
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-2/+2
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* fd-util: introduce proc_fd_enoent_errno helperMike Yuan2024-05-211-0/+2
* fs-utils: new wrapper fd_reopen_propagate_append_and_position()Lars Ellenberg2024-03-121-0/+1
* fd-util: beef up fd_verify_safe_flags() featuresLennart Poettering2024-03-111-1/+5
* fd-util: introduce fd_verify_safe_flagsMike Yuan2024-02-211-14/+3
* fd-util: Add helpers to check if FD flags are safeAdrian Vovk2024-02-201-0/+15
* fd-util: Expose helper to pack fds into 3,4,5,...Adrian Vovk2024-02-191-0/+2
* fd-util: Close function for FD_TO_PTRAdrian Vovk2024-01-191-0/+5
* process-util: turn off O_NONBLOCK on stdio fds when rearranging fdsLennart Poettering2024-01-081-0/+2
* fd-util: modernizationMike Yuan2023-12-281-2/+2
* basic: add fds_are_same_mount() helperLuca Boccassi2023-12-051-0/+2
* fd-util: add new FORMAT_PROC_PID_FD_PATH() helperLennart Poettering2023-11-021-0/+10
* fd-uitl: rename PIPE_EBADF → EBADF_PAIR, and add EBADF_TRIPLETLennart Poettering2023-10-261-1/+4
* fd-util: add new helper close_many_unset()Lennart Poettering2023-10-181-0/+1
* serialize: add serialize_fd_many() helperLennart Poettering2023-10-181-0/+1
* Revert "tree-wide: Mount file descriptors via /proc/<pid>/fd"Lennart Poettering2023-09-081-8/+3
* fd-util: Use /proc/pid/fd instead of /proc/self/fdDaan De Meyer2023-08-141-3/+8
* chase: check root path in more detailYu Watanabe2023-07-291-0/+3
* fd-util: Add path_is_root_at()Daan De Meyer2023-06-061-2/+5
* fd-util: add ASSERT_FD() that is similar to ASSERT_PTR() but for fdsLennart Poettering2023-04-241-0/+8
* fd-util: introduce dir_fd_is_root_or_cwd()Yu Watanabe2023-04-041-0/+4
* fd-util: add helper for converting O_RDONLY/WRONLY/RDWR to stringsLennart Poettering2023-03-291-0/+2
* fd-util: Add dir_fd_is_root()Daan De Meyer2023-03-151-0/+2
* fd-util: move ACQUIRE_NO_XYZ flags to the header the function using them is inLennart Poettering2023-03-091-8/+0
* fd-util: introduce a simple helper to check a file descriptor has O_PATHYu Watanabe2023-02-161-0/+1
* Consolidate various TAKE_* into TAKE_GENERIC(), add TAKE_STRUCT()Dan Streetman2023-01-241-8/+2
* tree-wide: use -EBADF moreYu Watanabe2022-12-201-3/+3
* tree-wide: introduce PIPE_EBADF macroYu Watanabe2022-12-201-0/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* fd-util: add new helper fd_reopen_conditional()Lennart Poettering2022-11-291-0/+1
* fd-util: add new fd_cloexec_many() helperLennart Poettering2022-11-041-0/+1
* btrfs-util: move btrfs_defrag_fd() from fd-util.[ch]Yu Watanabe2022-10-251-1/+0
* fd-util: rename CLOSE_AND_REPLACE() -> close_and_replace()Yu Watanabe2022-09-171-1/+1
* fd-util: rename loop_get_diskseq() -> fd_get_diskseq()Yu Watanabe2022-04-011-0/+1
* fd-util: make TAKE_FD free of double evaluationLennart Poettering2021-11-031-3/+4
* fd-util: export get_max_fd() so that we can use it in testsLennart Poettering2021-10-271-0/+2
* fd-util: split out inner fallback loop of close_all_fds() as close_all_fds_wi...Lennart Poettering2021-10-271-0/+1
* Revert "basic/fd-util: sort the 'except' array in place"Lennart Poettering2021-10-271-1/+1
* Revert "Add variant of close_all_fds() that does not allocate and use it in f...Lennart Poettering2021-10-271-4/+1
* fd-util: add macro for generating /proc/self/fd/ paths on the flyLennart Poettering2021-08-191-1/+15
* Add variant of close_all_fds() that does not allocate and use it in freeze()Zbigniew Jędrzejewski-Szmek2021-07-231-1/+4
* basic/fd-util: sort the 'except' array in placeZbigniew Jędrzejewski-Szmek2021-07-231-1/+1
* basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.cZbigniew Jędrzejewski-Szmek2021-06-241-4/+0
* basic: drop one btrfs-related function and move anotherZbigniew Jędrzejewski-Szmek2021-06-241-1/+1
* fd-util: introduce FDNAME_MAXYu Watanabe2021-05-121-0/+3
* tree-wide: reset the cleaned-up variable in cleanup functionsZbigniew Jędrzejewski-Szmek2021-02-161-2/+2
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Add CLOSE_AND_REPLACE helperZbigniew Jędrzejewski-Szmek2020-09-181-0/+10