summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* util: move ERRNO_IS_xyz macros to errno-util.hLennart Poettering2019-03-191-12/+0
* fd-util: beef up ERRNO_IS_xyz() macros a bitLennart Poettering2019-03-191-2/+2
* tree-wide: use c99 static for array size declarationsZbigniew Jędrzejewski-Szmek2019-01-041-1/+1
* resolve: treat some icmp errors as disconnectedYu Watanabe2018-08-061-2/+6
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-4/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* main: split out reading of /proc/sys/fs/nr_open into its own functionLennart Poettering2018-06-061-0/+2
* fd-util: add new helper call fd_duplicate_data_fd()Lennart Poettering2018-05-241-0/+2
* tree-wide: be more careful with the type of array sizesLennart Poettering2018-04-271-2/+2
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* Merge pull request #8617 from keszybz/tmpfiles-relaxLennart Poettering2018-04-051-0/+4
|\
| * tmpfiles: add a new return code for "operational failure" when processingZbigniew Jędrzejewski-Szmek2018-04-051-0/+4
* | fd-util: introduce fd_reopen() helper for reopening an fdLennart Poettering2018-03-291-0/+2
|/
* macro: introduce new TAKE_FD() macroLennart Poettering2018-03-221-0/+8
* fd-util: drop stdio_unset_cloexec(), it's not used anymoreLennart Poettering2018-03-021-1/+0
* terminal-util: port some generic code over to rearrange_stdio()Lennart Poettering2018-03-021-0/+4
* fd-util: add new call rearrange_stdio()Lennart Poettering2018-03-021-0/+2
* util: add new safe_close_above_stdio() wrapperLennart Poettering2018-02-281-0/+7
* fd-util: move certain fds above fd #2 (#8129)Lennart Poettering2018-02-091-0/+2
* Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering2017-11-191-0/+12
|\
| * fd-util: add new acquire_data_fd() API helperLennart Poettering2017-11-171-0/+10
| * fd-util: add new helper move_fd() and make use of itLennart Poettering2017-11-171-0/+2
* | Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|/
* basic/fd-util: introduce stdio_unset_cloexec() functionAlexander Kuleshov2016-07-021-0/+1
* nspawn: when readjusting UID/GID ownership of OS trees, skip read-only subtreesLennart Poettering2016-04-251-0/+2
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* resolved: properly handle LLMNR/TCP connection errorsLennart Poettering2016-01-251-1/+2
* resolved: when we get a TCP connection failure, try againLennart Poettering2016-01-111-0/+3
* tree-wide: sort includes in *.hThomas Hindoe Paaboel Andersen2015-11-181-1/+1
* tree-wide: make macros for converting fds to pointers and back generic and us...Lennart Poettering2015-11-171-0/+4
* util-lib: move fdname_is_valid() to fd-util.[ch]Lennart Poettering2015-10-271-0/+2
* util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering2015-10-251-0/+69