summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-29fd-util: accept that kcmp might fail with EPERM/EACCESSjoerd Simons1-1/+1
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-3/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
2018-06-06main: split out reading of /proc/sys/fs/nr_open into its own functionLennart Poettering1-0/+24
2018-05-25tree-wide: drop unused variablesYu Watanabe1-1/+0
2018-05-24fd-util: add new helper call fd_duplicate_data_fd()Lennart Poettering1-0/+199
2018-05-17basic: be more careful when closing fds based on RLIMIT_NOFILELennart Poettering1-4/+11
2018-04-27tree-wide: be more careful with the type of array sizesLennart Poettering1-5/+5
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-03-29fd-util: introduce fd_reopen() helper for reopening an fdLennart Poettering1-7/+20
2018-03-22macro: introduce new TAKE_FD() macroLennart Poettering1-8/+2
2018-03-20basic/fs-util: skip fsync_directory_of_file() if /proc/self/fd/ is not availa...Zbigniew Jędrzejewski-Szmek1-4/+11
2018-03-02fd-util: drop stdio_unset_cloexec(), it's not used anymoreLennart Poettering1-6/+0
2018-03-02fd-util: add new call rearrange_stdio()Lennart Poettering1-0/+115
2018-02-09fd-util: move certain fds above fd #2 (#8129)Lennart Poettering1-0/+37
2017-12-25fd-util: use close_nointr() return value instead of errnoLennart Poettering1-9/+8
2017-12-25fd-util: add some (void) castsLennart Poettering1-3/+3
2017-12-14tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering1-1/+1
2017-12-13tree-wide: use STRLEN() to allocate buffer of constant sizeThomas Haller1-1/+1
2017-11-19Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering1-0/+201
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-11-17fd-util: add new acquire_data_fd() API helperLennart Poettering1-0/+157
2017-11-17fd-util: add new helper move_fd() and make use of itLennart Poettering1-0/+44
2017-07-20tree-wide: make use of getpid_cached() wherever we canLennart Poettering1-1/+2
2016-12-09tree-wide: replace all readdir cycles with FOREACH_DIRENT{,_ALL} (#4853)Reverend Homer1-4/+2
2016-07-02basic/fd-util: introduce stdio_unset_cloexec() functionAlexander Kuleshov1-0/+6
2016-04-29journal: when creating a new journal file, fsync() the directory it is create...Lennart Poettering1-1/+7
2016-04-28tree-wide: rename hidden_file to hidden_or_backup_file and optimizeZbigniew Jędrzejewski-Szmek1-1/+1
2016-04-25nspawn: when readjusting UID/GID ownership of OS trees, skip read-only subtreesLennart Poettering1-0/+10
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2015-12-01basic: re-sort includesThomas Hindoe Paaboel Andersen1-2/+2
2015-11-30basic: include only what we useThomas Hindoe Paaboel Andersen1-1/+10
2015-10-27util-lib: move fdname_is_valid() to fd-util.[ch]Lennart Poettering1-0/+27
2015-10-27socket-util: move CMSG_FOREACH() from macro.h to socket-util.hLennart Poettering1-1/+2
2015-10-27util-lib: introduce dirent-util.[ch] for directory entry callsLennart Poettering1-0/+1
2015-10-27util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]Lennart Poettering1-0/+1
2015-10-25util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering1-0/+321