summaryrefslogtreecommitdiffstats
path: root/src/basic/fd-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-031-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
* | Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|/
* tree-wide: make use of getpid_cached() wherever we canLennart Poettering2017-07-201-1/+2
* tree-wide: replace all readdir cycles with FOREACH_DIRENT{,_ALL} (#4853)Reverend Homer2016-12-091-4/+2
* basic/fd-util: introduce stdio_unset_cloexec() functionAlexander Kuleshov2016-07-021-0/+6
* journal: when creating a new journal file, fsync() the directory it is create...Lennart Poettering2016-04-291-1/+7
* tree-wide: rename hidden_file to hidden_or_backup_file and optimizeZbigniew Jędrzejewski-Szmek2016-04-281-1/+1
* nspawn: when readjusting UID/GID ownership of OS trees, skip read-only subtreesLennart Poettering2016-04-251-0/+10
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* basic: re-sort includesThomas Hindoe Paaboel Andersen2015-12-011-2/+2
* basic: include only what we useThomas Hindoe Paaboel Andersen2015-11-301-1/+10
* util-lib: move fdname_is_valid() to fd-util.[ch]Lennart Poettering2015-10-271-0/+27
* socket-util: move CMSG_FOREACH() from macro.h to socket-util.hLennart Poettering2015-10-271-1/+2
* util-lib: introduce dirent-util.[ch] for directory entry callsLennart Poettering2015-10-271-0/+1