summaryrefslogtreecommitdiffstats
path: root/src/basic/process-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* all: fix minor typosYuri Chornoivan2020-07-071-1/+1
* pager: set PR_DEATHSIG for pager to SIGINT rather than SIGTERMLennart Poettering2020-06-101-2/+2
* basic/process-util: only try PR_SET_MM onceZbigniew Jędrzejewski-Szmek2020-05-261-0/+10
* basic/process-util: create helper functionZbigniew Jędrzejewski-Szmek2020-05-261-62/+62
* Merge pull request #15318 from fbuihuu/inherit-umask-for-user-unitsLennart Poettering2020-04-091-0/+17
|\
| * pid1: by default make user units inherit their umask from the user managerFranck Bui2020-04-091-0/+17
* | safe_fork: use a cleanup function to restore signal mask in parentMike Gilbert2020-03-091-12/+14
* | safe_fork: unblock most signals before waiting for childMike Gilbert2020-03-091-2/+9
|/
* core: in execute, Never fail setting Nice priorityDimitri John Ledkov2020-01-021-0/+57
* Fix use of unitialized variable in error pathZbigniew Jędrzejewski-Szmek2019-12-051-2/+1
* Merge pull request #14218 from poettering/homed-preparatory-small-stuffLennart Poettering2019-12-041-0/+7
|\
| * process-util: add new safe_fork() flag for connecting stdout to stderrLennart Poettering2019-12-041-0/+7
* | process-util: add helper pidfd_get_pid()Lennart Poettering2019-12-041-0/+33
|/
* process-util: shortcut get_process_state() for our own processLennart Poettering2019-11-251-1/+5
* process-util: shortcut get_process_comm() for our own processLennart Poettering2019-11-251-9/+20
* process-util: tweak get_process_cwd() when calling for own processLennart Poettering2019-11-251-1/+5
* tree-wide: drop signal.h when signal-util.h is includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+2
* Merge pull request #12628 from keszybz/dbus-executeMichal Sekletar2019-05-301-37/+2
|\
| * Move cpus_in_affinity_mask() to cpu-set-util.[ch]Zbigniew Jędrzejewski-Szmek2019-05-291-37/+2
* | Add 8bit-version of get_process_cmdline() and use in cgroup-show.cZbigniew Jędrzejewski-Szmek2019-05-221-1/+4
* | basic/process-util: convert bool arg to flagsZbigniew Jędrzejewski-Szmek2019-05-221-5/+6
* | util-lib: do not truncate kernel comm namesZbigniew Jędrzejewski-Szmek2019-05-221-3/+8
* | Rework cmdline printing to use unicodeZbigniew Jędrzejewski-Szmek2019-05-221-117/+47
* | Introduce sc_arg_max() helperZbigniew Jędrzejewski-Szmek2019-05-211-5/+3
* | small fixes: make get_process_state() static and fix typoTopi Miettinen2019-05-201-1/+1
|/
* Make fopen_temporary and fopen_temporary_label unlockedZbigniew Jędrzejewski-Szmek2019-04-121-1/+0
* Add fopen_unlocked() wrapperZbigniew Jędrzejewski-Szmek2019-04-121-35/+21
* Merge pull request #12030 from poettering/condition-memoryYu Watanabe2019-04-021-0/+34
|\
| * process-util: add new helper cpus_in_affinity_mask()Lennart Poettering2019-03-191-0/+34
* | process-util: introduce pid_is_my_child() helperFranck Bui2019-03-201-0/+14
|/
* Handle or voidify all calls to close_all_fds()Zbigniew Jędrzejewski-Szmek2019-03-151-1/+1
* util: split out memcmp()/memset() related calls into memory-util.[ch]Lennart Poettering2019-03-131-1/+1
* util: split out namespace related stuff into a new namespace-util.[ch] pairLennart Poettering2019-03-131-0/+1
* process-util: don't use overly large buffer to store process command lineMichal Sekletar2019-01-261-4/+14
* basic/process-util: limit command line lengths to _SC_ARG_MAXZbigniew Jędrzejewski-Szmek2019-01-091-48/+25
* tree-wide: use assert_se() for signal operations with constantsZbigniew Jędrzejewski-Szmek2018-12-211-11/+3
* process-util: rework getenv_for_pid() to use read_nul_string()Lennart Poettering2018-12-181-19/+16
* process-util: make get_process_environ() saferLennart Poettering2018-12-181-10/+17
* Merge pull request #10935 from poettering/rlimit-nofile-safeZbigniew Jędrzejewski-Szmek2018-12-061-0/+11
|\
| * tree-wide: invoke rlimit_nofile_safe() before various exec{v,ve,l}() invocationsLennart Poettering2018-12-011-0/+2
| * process-util: add new FORK_RLIMIT_NOFILE_SAFE flag for safe_fork()Lennart Poettering2018-12-011-0/+9
* | tree-wide: use gcc attribute macros where appropriateLennart Poettering2018-12-031-1/+1
|/
* coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek2018-11-221-2/+1
* process-util: check for correct kill return value (#10841)David Leeds2018-11-201-2/+2
* Merge pull request #10753 from keszybz/pager-no-interruptLennart Poettering2018-11-141-1/+0
|\
| * Move LONG_LINE_MAX definition to fileio.hZbigniew Jędrzejewski-Szmek2018-11-141-1/+0
* | core: add namespace_fork() helper, that forks, joins a set of namespaces and ...Lennart Poettering2018-11-131-0/+54
|/
* process-util: FOREACH_LINE excorcismLennart Poettering2018-10-181-2/+10