summaryrefslogtreecommitdiff
path: root/src/shared/exec-util.c
Commit message (Expand)AuthorAgeFilesLines
* exec-util: make execute_strv() optionally take root directoryYu Watanabe2023-04-161-3/+5
* shared/exec-util: reduce scope of iterator variablesZbigniew Jędrzejewski-Szmek2023-04-031-6/+3
* shared/exec-util: null_or_empty_path() does not return booleanZbigniew Jędrzejewski-Szmek2023-03-281-1/+1
* exec-util: introduce EXEC_DIR_SKIP_REMAINING flagYu Watanabe2023-03-171-3/+21
* exec-util: extract the core logic of execute_directories() as execute_strv()Yu Watanabe2023-03-171-16/+38
* exec-util: enumerate executables earlierYu Watanabe2023-03-171-10/+13
* exec-util: drop meaningless castsYu Watanabe2023-03-171-7/+6
* exec-util: tighten variable scope a bitYu Watanabe2023-03-171-5/+6
* process-util: rename FORK_NULL_STDIO -> FORK_REARRANGE_STDIOYu Watanabe2023-02-211-0/+1
* exec-util: use TAKE_FD()Yu Watanabe2023-02-191-4/+2
* exec-util: propagate error in wait_for_terminate_and_check()Yu Watanabe2023-02-191-4/+5
* tree-wide: set FORK_RLIMIT_NOFILE_SAFE flagYu Watanabe2023-02-071-7/+2
* shared: port various shared helpers basename() → path_extract_filename()Lennart Poettering2022-12-231-4/+12
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-4/+4
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* tree-wide: use ASSERT_PTR moreDavid Tardon2022-09-131-9/+3
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-3/+1
* tree-wide: some additional checks to avoid CVE-2021-4034 style weaknessesLennart Poettering2022-01-311-0/+9
* tree-wide: always use TAKE_FD() when calling rearrange_stdio()Lennart Poettering2021-11-031-1/+1
* Revert "basic/fd-util: sort the 'except' array in place"Lennart Poettering2021-10-271-1/+1
* basic: move freeze() from shared/exec-util.h to basic/process-util.hLennart Poettering2021-10-221-23/+0
* tree-wide: assorted Coccinelle fixesFrantisek Sumsal2021-10-081-1/+1
* exec-util: handle gracefully if we want to fork an agent but have no controll...Lennart Poettering2021-08-301-12/+18
* Add variant of close_all_fds() that does not allocate and use it in freeze()Zbigniew Jędrzejewski-Szmek2021-07-231-1/+1
* Move freeze() into shared/Zbigniew Jędrzejewski-Szmek2021-07-231-0/+23
* Move fork_agent() into shared/Zbigniew Jędrzejewski-Szmek2021-07-231-0/+73
* Merge pull request #18641 from benjarobin/fix-enum-invalid-valZbigniew Jędrzejewski-Szmek2021-02-171-4/+6
|\
| * shared: use -EINVAL for _EXEC_COMMAND_FLAGS_INVALIDBenjamin Robin2021-02-161-4/+6
* | shared/exec-util: fix minor memleakZbigniew Jędrzejewski-Szmek2021-02-161-8/+2
|/
* core: also set $SYSTEMD_EXEC_PID= for generatorsYu Watanabe2021-02-011-2/+8
* Merge pull request #17079 from keszybz/late-exec-resolutionLennart Poettering2020-12-031-1/+25
|\
| * meson: add option for fexecve useZbigniew Jędrzejewski-Szmek2020-11-061-0/+2
| * shared/exec-util: fall back to execve() also on permission errorsZbigniew Jędrzejewski-Szmek2020-11-061-2/+4
| * shared/exec-util: use our own execveat() wrapper instead of fexecve()Zbigniew Jędrzejewski-Szmek2020-11-061-3/+4
| * core/execute: fall back to execve() for scriptsZbigniew Jędrzejewski-Szmek2020-11-061-0/+20
| * core: use fexecve() to spawn childrenZbigniew Jędrzejewski-Szmek2020-11-061-1/+0
* | license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|/
* core: add ExecStartXYZEx= with dbus support for executable prefixesAnita Zhang2019-05-301-0/+74
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
* core: Allow to configure execute_directories execution behaviorMatthias Klumpp2019-02-181-19/+38
* tree-wide: Remove O_CLOEXEC from fdopenChris Down2018-12-121-1/+1
* Merge pull request #10935 from poettering/rlimit-nofile-safeZbigniew Jędrzejewski-Szmek2018-12-061-0/+3
|\
| * tree-wide: invoke rlimit_nofile_safe() before various exec{v,ve,l}() invocationsLennart Poettering2018-12-011-0/+3
* | util-lib: split out env file parsing code into env-file.cLennart Poettering2018-12-021-0/+1
* | util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-0/+1
|/
* Move various files that don't need to be in basic/ to shared/Zbigniew Jędrzejewski-Szmek2018-11-201-0/+348