summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.c
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: port things over to FORMAT_PROC_FD_PATH()Lennart Poettering2021-08-191-6/+2
* Add variant of close_all_fds() that does not allocate and use it in freeze()Zbigniew Jędrzejewski-Szmek2021-07-231-4/+4
* basic/fd-util: sort the 'except' array in placeZbigniew Jędrzejewski-Szmek2021-07-231-83/+57
* basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.cZbigniew Jędrzejewski-Szmek2021-06-241-339/+0
* basic: drop one btrfs-related function and move anotherZbigniew Jędrzejewski-Szmek2021-06-241-0/+20
* fd-util: introduce FDNAME_MAXYu Watanabe2021-05-121-1/+1
* treewide: tighten variable scope in loops (#18372)Susant Sahani2021-01-271-6/+2
* sort-util: make cmp_int() generic, so that we can reuse it elsewhereLennart Poettering2020-12-171-4/+0
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fd-util: port close_all_fds() to close_range()Lennart Poettering2020-10-141-0/+90
* Merge pull request #17143 from keszybz/late-exec-resolution-altLennart Poettering2020-09-241-4/+2
|\
| * Add CLOSE_AND_REPLACE helperZbigniew Jędrzejewski-Szmek2020-09-181-4/+2
* | basic: update fd_get_path() to use proc_mounted() helperLennart Poettering2020-09-231-5/+3
|/
* tree-wide: fix spelling of "fallback"Zbigniew Jędrzejewski-Szmek2020-08-201-1/+1
* fd-util: be more careful with fclose() errnosLennart Poettering2020-06-021-1/+4
* tmpfiles: if we get ENOENT when opening /proc/self/fd/, check if /proc is mou...Lennart Poettering2020-04-231-3/+11
* Add yet another tiny helper to manipulate flagsZbigniew Jędrzejewski-Szmek2020-04-101-10/+2
* include missing_fcntl.h where neededAnita Zhang2019-11-071-0/+1
* tree-wide: drop socket.h when socket-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+1
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
* basic/fd-util: refuse "infinite" loop in close_all_fds()Zbigniew Jędrzejewski-Szmek2019-03-151-0/+11
* fd-util: rework how we determine highest possible fdLennart Poettering2019-01-181-11/+26
* tree-wide: use c99 static for array size declarationsZbigniew Jędrzejewski-Szmek2019-01-041-1/+1
* fd-util: Fix error handling in safe_fclosePaweł Szewczyk2018-12-061-1/+1
* util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-0/+1
* copy: support getting progress feedback from the various copy functionsLennart Poettering2018-11-261-1/+1
* fd-util: optimize fd_get_path() a bitLennart Poettering2018-10-251-12/+12
* fd-util: accept that kcmp might fail with EPERM/EACCESSjoerd Simons2018-08-291-1/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+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/+24
* tree-wide: drop unused variablesYu Watanabe2018-05-251-1/+0
* fd-util: add new helper call fd_duplicate_data_fd()Lennart Poettering2018-05-241-0/+199
* basic: be more careful when closing fds based on RLIMIT_NOFILELennart Poettering2018-05-171-4/+11
* tree-wide: be more careful with the type of array sizesLennart Poettering2018-04-271-5/+5
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* fd-util: introduce fd_reopen() helper for reopening an fdLennart Poettering2018-03-291-7/+20
* macro: introduce new TAKE_FD() macroLennart Poettering2018-03-221-8/+2
* basic/fs-util: skip fsync_directory_of_file() if /proc/self/fd/ is not availa...Zbigniew Jędrzejewski-Szmek2018-03-201-4/+11
* fd-util: drop stdio_unset_cloexec(), it's not used anymoreLennart Poettering2018-03-021-6/+0
* fd-util: add new call rearrange_stdio()Lennart Poettering2018-03-021-0/+115
* fd-util: move certain fds above fd #2 (#8129)Lennart Poettering2018-02-091-0/+37
* fd-util: use close_nointr() return value instead of errnoLennart Poettering2017-12-251-9/+8
* fd-util: add some (void) castsLennart Poettering2017-12-251-3/+3
* tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering2017-12-141-1/+1
* tree-wide: use STRLEN() to allocate buffer of constant sizeThomas Haller2017-12-131-1/+1
* Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering2017-11-191-0/+201
|\
| * fd-util: add new acquire_data_fd() API helperLennart Poettering2017-11-171-0/+157
| * fd-util: add new helper move_fd() and make use of itLennart Poettering2017-11-171-0/+44