summaryrefslogtreecommitdiff
path: root/src/basic/process-util.c
Commit message (Expand)AuthorAgeFilesLines
* process-util: be more careful with pidfd_get_pid() special casesLennart Poettering2023-04-171-1/+15
* process-util: make safe_fork() unset $NOTIFY_SOCKETYu Watanabe2023-04-171-0/+8
* process-util: introduce get_process_cmdline_strv()Yu Watanabe2023-03-281-0/+22
* tree-wide: port various places to find_line_startswith()Lennart Poettering2023-03-241-8/+3
* process-util: drop trailing NUls before parsing the nulstrYu Watanabe2023-03-241-9/+3
* core: Settle log target if we're going to be closing all fdsDaan De Meyer2023-03-221-0/+1
* Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-0/+1
* process-util: rename FORK_NULL_STDIO -> FORK_REARRANGE_STDIOYu Watanabe2023-02-211-16/+30
* process-util: show requested process name in the logYu Watanabe2023-02-191-1/+1
* process-util: add helper get_process_threads()Lennart Poettering2023-02-171-0/+25
* process-util: add missing error checkLennart Poettering2023-02-081-0/+2
* process-util: add helper to verify a pid via its pidfdLuca Boccassi2023-01-201-0/+14
* shutdown: propagate mount() failures from child to parentLennart Poettering2023-01-091-0/+17
* shared: add new safe_fork flag FORK_PRIVATE_TMPZbigniew Jędrzejewski-Szmek2022-12-141-2/+14
* strv: move nulstr utilities to nulstr-util.[ch]Lennart Poettering2022-11-131-0/+1
* basic: move a bunch of cmdline-related funcs to new argv-util.c+hZbigniew Jędrzejewski-Szmek2022-11-081-205/+1
* basic: move container_get_leader() to process-util.[ch]Zbigniew Jędrzejewski-Szmek2022-11-081-0/+44
* process-util: add new FORK_CLOEXEC_OFF flag for disabling O_CLOEXEC on remain...Lennart Poettering2022-11-041-0/+8
* tree-wide: drop () around the first argument of a ternary opZbigniew Jędrzejewski-Szmek2022-10-111-1/+1
* Merge pull request #23963 from matoro/mainLennart Poettering2022-07-211-2/+8
|\
| * process-util: replace __sync intrinsics to __atomicmatoro2022-07-141-2/+8
* | basic/log: split out invoked_by_systemd() utility functionZbigniew Jędrzejewski-Szmek2022-07-151-0/+24
|/
* tree-wide: use 'Architecture' type consistently across the treeLennart Poettering2022-04-051-2/+2
* process-util: refactor APIs for reading /proc/self/xyz symlinksLennart Poettering2022-04-011-28/+13
* tree-wide: unify some code that looks for --help in the command lineLennart Poettering2022-03-311-0/+24
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* time-util: add macros around timespec_store() that operates on compund litera...Lennart Poettering2022-03-181-2/+1
* do not call __register_atfork directlyMatija Skala2022-02-141-7/+2
* tree-wide: move `unsigned` to the start of type declarationFrantisek Sumsal2022-02-101-2/+2
* process-util: Fix memory leakDaan De Meyer2021-12-091-3/+6
* process-util: handle double NUL as the end of command lineYu Watanabe2021-12-061-0/+6
* process-util: rename function arguments for storing resultsYu Watanabe2021-12-061-32/+35
* Merge pull request #21487 from DaanDeMeyer/dissect-image-other-archLennart Poettering2021-11-251-4/+4
|\
| * basic: Rename SECONDARY_ARCHITECTURE to ARCHITECTURE_SECONDARYDaan De Meyer2021-11-241-4/+4
* | shared: split out ioprio related stuff into ioprio-util.[ch]Lennart Poettering2021-11-241-25/+0
|/
* process-util: add missing NULL initialization for _cleanup_ variableLennart Poettering2021-11-231-1/+1
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-2/+2
* process-util: use quote_command_line() at one more placeLennart Poettering2021-11-111-12/+1
* process-util: wait for processes we killed even if killing failedLennart Poettering2021-11-031-4/+4
* exec-util: use close_all_fds_without_malloc() from freeze()Lennart Poettering2021-10-271-2/+4
* Revert "basic/fd-util: sort the 'except' array in place"Lennart Poettering2021-10-271-4/+3
* Revert "Add variant of close_all_fds() that does not allocate and use it in f...Lennart Poettering2021-10-271-1/+1
* process-util: move sync() out of freeze()Lennart Poettering2021-10-221-2/+0
* basic: move freeze() from shared/exec-util.h to basic/process-util.hLennart Poettering2021-10-221-0/+21
* process-util: add helper for querying oom score adjustment valueLennart Poettering2021-10-041-0/+18
* Get rid of ioprio.h and add a minimalistic reimplementation of the apiZbigniew Jędrzejewski-Szmek2021-09-221-1/+0
* tree-wide: mark set-but-not-used variables as unused to make LLVM happyFrantisek Sumsal2021-09-151-1/+1
* Revert "Make oom_score_adjust_is_valid() static"Lennart Poettering2021-07-281-0/+4
* Move freeze() into shared/Zbigniew Jędrzejewski-Szmek2021-07-231-24/+0
* Move fork_agent() into shared/Zbigniew Jędrzejewski-Szmek2021-07-231-76/+0