summaryrefslogtreecommitdiffstats
path: root/src/test/test-process-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* process-util: port pid_from_same_root_fs() to pidref, and port three places o...Lennart Poettering2025-01-161-0/+48
* test-process-util: don't run rest of test suite in forked off childLennart Poettering2025-01-161-1/+1
* process-util: add new helper pidref_get_ppid_as_pidref()Lennart Poettering2025-01-101-0/+23
* process-util: port pidref_get_uid() and pidref_is_my_child() to pidfd helpersMike Yuan2025-01-041-5/+5
* test-process-util: Ignore EINVAL from setresuid() and setresgid()Daan De Meyer2024-09-191-2/+4
* test-process-util: Use FORK_REOPEN_LOG everywhere we close all fdsDaan De Meyer2024-09-191-7/+7
* test-process-util: Migrate to new assertion macrosDaan De Meyer2024-09-191-201/+226
* process-util: make pid*_get_start_time return usec_tMike Yuan2024-05-221-4/+4
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-42/+42
* ASSERT_NULL/ASSERT_NOT_NULLIvan Kruglov2024-04-101-1/+1
* process-util: add new pid{ref,}_get_start_time() helperLennart Poettering2024-01-021-0/+21
* test-process-util: Handle unprivileged setrlimit successDan Nicholson2023-11-081-3/+10
* process-util: add new FORK_DEATHSIG_SIGKILL flag, rename FORK_DEATHSIG → FO...Lennart Poettering2023-11-021-3/+3
* fd-uitl: rename PIPE_EBADF → EBADF_PAIR, and add EBADF_TRIPLETLennart Poettering2023-10-261-1/+1
* test: port tests over to new /proc/ enumeration APILennart Poettering2023-10-181-6/+7
* process-util: add pidref_is_unwaited() and make pid_is_unwaited() return errorsLennart Poettering2023-10-181-4/+4
* process-util: change pid_is_alive() to not eat up errors, and add pidref_is_a...Lennart Poettering2023-10-181-4/+4
* process-util: add pidref_get_uid() and rename get_process_uid() → pidref_ge...Lennart Poettering2023-10-181-1/+1
* process-util: add pidref_get_comm() and rename get_process_comm() to pid_get_...Lennart Poettering2023-10-181-21/+21
* process-util: add pidref_is_kernel_thread()Lennart Poettering2023-10-181-1/+1
* process-util: add pidref_get_cmdline()Lennart Poettering2023-10-181-64/+64
* test: fix typoYu Watanabe2023-07-271-1/+1
* tree-wide: drop trailing newline from various log callsLennart Poettering2023-07-101-2/+2
* Merge pull request #27843 from yuwata/usleep_safeLennart Poettering2023-06-231-1/+1
|\
| * time-util: introduce usleep_safe()Yu Watanabe2023-06-221-1/+1
* | process-util: add simple wrapper around PR_SET_CHILD_SUBREAPERLennart Poettering2023-06-231-1/+1
* | process-util: add helper that detects if we are a reaper processLennart Poettering2023-06-231-0/+47
|/
* tree-wide: when in doubt use greek small letter mu rather than micro symbolLennart Poettering2023-06-141-2/+2
* process-util: introduce get_process_cmdline_strv()Yu Watanabe2023-03-281-3/+45
* test-process-util: port to detach_mount_namespace()Lennart Poettering2023-03-141-4/+6
* process-util: rename FORK_NULL_STDIO -> FORK_REARRANGE_STDIOYu Watanabe2023-02-201-1/+1
* process-util: add helper get_process_threads()Lennart Poettering2023-02-171-0/+54
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* basic: move a bunch of cmdline-related funcs to new argv-util.c+hZbigniew Jędrzejewski-Szmek2022-11-081-102/+0
* test-process-util: do not pass NULL to printf, simplify testsZbigniew Jędrzejewski-Szmek2022-06-091-6/+7
* test: allow to set NULL to intro or outroYu Watanabe2022-02-021-1/+1
* tests: rework test macros to not take code as parametersLennart Poettering2022-02-021-1/+6
* Define FOREACH_DIRENT through FOREACH_DIRENT_ALLZbigniew Jędrzejewski-Szmek2021-12-151-1/+0
* process-util: handle double NUL as the end of command lineYu Watanabe2021-12-061-4/+4
* test: Use TEST macro in more casesJan Janssen2021-11-251-73/+30
* test: add test for ioprio normalizationLennart Poettering2021-11-241-12/+18
* shared: split out ioprio related stuff into ioprio-util.[ch]Lennart Poettering2021-11-241-0/+1
* procfs-util: fix confusion wrt. quantity limit and maximum valueZbigniew Jędrzejewski-Szmek2021-11-031-2/+8
* test: add test case for {get,set}_oom_score_adjust()Lennart Poettering2021-10-041-0/+20
* process-util: explicitly handle processes lacking parents in get_process_ppid()Lennart Poettering2021-07-071-5/+43
* dirent-util: use readdir_ensure_type() in readdir_no_dot() and FOREACH_DIRENT()Yu Watanabe2021-06-231-2/+0
* test-process-util: add test that prints all cmdlinesZbigniew Jędrzejewski-Szmek2021-05-051-0/+49
* basic/process-util: add mode where posix shell escape is used for quotingZbigniew Jędrzejewski-Szmek2021-05-051-0/+14
* test-process-util: run fewer getpid() testsZbigniew Jędrzejewski-Szmek2021-05-051-8/+9