summaryrefslogtreecommitdiffstats
path: root/src/test/test-fd-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fd-util: Use /proc/pid/fd instead of /proc/self/fdDaan De Meyer2023-08-141-5/+10
* test: use _cleanup_ for temp. filesDavid Tardon2023-04-211-10/+4
* test: add tests for dir_fd_is_root_or_cwd()Yu Watanabe2023-04-051-0/+7
* fd-util: make fd_get_path() support AT_FDCWDYu Watanabe2023-03-301-0/+5
* test: add tests for fd_get_path()Yu Watanabe2023-03-301-0/+112
* test-fd-util: use stat_inode_same() where appropriateLennart Poettering2023-03-271-8/+4
* fd-util: cover some corner cases with fd_reopen() on symlinksLennart Poettering2023-03-271-0/+22
* core: Settle log target if we're going to be closing all fdsDaan De Meyer2023-03-221-0/+1
* test: add a testcase that dir_fd_is_root() is not confused by bind mountYu Watanabe2023-03-171-0/+33
* fd-util: Add dir_fd_is_root()Daan De Meyer2023-03-151-0/+12
* tree-wide: use -EBADF moreYu Watanabe2022-12-201-2/+2
* tree-wide: introduce PIPE_EBADF macroYu Watanabe2022-12-201-1/+1
* tree-wide: use -EBADF also in pipe initializersZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-19/+19
* fd-util: add new helper fd_reopen_conditional()Lennart Poettering2022-11-291-0/+47
* test-fd-util: fix typos and use log_tests_skipped()Zbigniew Jędrzejewski-Szmek2022-11-091-12/+8
* tree-wide: fix typoYu Watanabe2021-11-301-1/+1
* test: Use TEST macroJan Janssen2021-11-251-31/+12
* build: fix build without seccompDominique Martinet2021-11-251-1/+1
* test: add test that ensures TAKE_FD() works as it shouldLennart Poettering2021-11-031-0/+43
* test-fd-util: extend close_all_fds() test to trigger all fallback codepathsLennart Poettering2021-10-271-1/+106
* fd-util: export get_max_fd() so that we can use it in testsLennart Poettering2021-10-271-4/+4
* test-fd-util: add test case for fd_reopen()Lennart Poettering2021-10-221-0/+96
* test: add test for FORMAT_PROC_FD_PATH()Lennart Poettering2021-08-191-0/+9
* basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.cZbigniew Jędrzejewski-Szmek2021-06-241-137/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* test-fd-util: add test case for close_all_fd()Lennart Poettering2020-10-141-0/+96
* test: Use assert_se() where variables are only checked by assertBenjamin Robin2020-05-061-4/+4
* util: split out memcmp()/memset() related calls into memory-util.[ch]Lennart Poettering2019-03-131-1/+1
* util-lib: move open_serialization_fd() to serialize.cLennart Poettering2018-12-021-0/+1
* util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-1/+2
* tests: use a helper function to parse environment and open loggingZbigniew Jędrzejewski-Szmek2018-09-141-1/+2
* 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/+8
* fd-util: add new helper call fd_duplicate_data_fd()Lennart Poettering2018-05-241-0/+88
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd)Lennart Poettering2018-03-201-2/+2
* fd-util: add new call rearrange_stdio()Lennart Poettering2018-03-021-0/+69
* fd-util: move certain fds above fd #2 (#8129)Lennart Poettering2018-02-091-0/+19
* test-fd-util: add assert_se to make coverity happyZbigniew Jędrzejewski-Szmek2017-11-281-1/+1
* Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering2017-11-191-0/+52
|\
| * fd-util: add new acquire_data_fd() API helperLennart Poettering2017-11-171-0/+52
* | Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|/
* core/manager: split out creation of serialization fd out to a helperZbigniew Jędrzejewski-Szmek2017-02-211-0/+10
* fileio: simplify mkostemp_safe() (#4090)Topi Miettinen2016-09-131-4/+4
* tests: move fd-util related tests to test-fd-util.cRonny Chevalier2016-03-031-0/+103