summaryrefslogtreecommitdiffstats
path: root/src/basic/fd-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fd-util: use F_DUPFD_QUERY for same_fd()Lennart Poettering2024-10-081-10/+42
* fd-util: introduce fd_validate() helperLennart Poettering2024-10-081-0/+10
* fd-util: also close pidfd from SCM_PIDFD in cmsg_close_all()Mike Yuan2024-09-041-4/+11
* process-util: modernize pidfd_get_pid()Mike Yuan2024-07-211-2/+4
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* Merge pull request #33074 from keszybz/bpf-fd-handlingYu Watanabe2024-06-121-11/+2
|\
| * basic/fd-util: drop report from fd_cloexec_manyZbigniew Jędrzejewski-Szmek2024-05-301-3/+0
| * basic/fd-util: drop unnecessary {}Zbigniew Jędrzejewski-Szmek2024-05-301-8/+2
* | fd-util: introduce proc_fd_enoent_errno helperMike Yuan2024-05-211-19/+18
|/
* 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