summaryrefslogtreecommitdiffstats
path: root/src/test/test-fd-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fd-util: use F_DUPFD_QUERY for same_fd()Lennart Poettering2024-10-081-1/+17
* fd-util: introduce fd_validate() helperLennart Poettering2024-10-081-5/+18
* tree-wide: Use log_setup() everywhereDaan De Meyer2024-04-251-1/+1
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-17/+17
* Introduce ASSERT_OK_ERRNO()Daan De Meyer2024-04-101-8/+8
* test: make test-fd-util more lenient when using fd_move_above_stdio()Frantisek Sumsal2024-04-051-9/+13
* data-fd-util: accept size == SIZE_MAX and translate that to strlenMike Yuan2024-03-121-1/+1
* basic: add fds_are_same_mount() helperLuca Boccassi2023-12-051-0/+18
* process-util: add new FORK_DEATHSIG_SIGKILL flag, rename FORK_DEATHSIG → FO...Lennart Poettering2023-11-021-4/+4
* fd-uitl: rename PIPE_EBADF → EBADF_PAIR, and add EBADF_TRIPLETLennart Poettering2023-10-261-1/+1
* serialize: add open_serialization_file()Luca Boccassi2023-10-121-0/+11
* Revert "tree-wide: Mount file descriptors via /proc/<pid>/fd"Lennart Poettering2023-09-081-10/+5
* 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