summaryrefslogtreecommitdiffstats
path: root/src/shared/exec-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* shared/exec-util: modernize execute_strv() and friends a bitMike Yuan2024-10-151-44/+44
* shared/exec-util: minor rearrangement, drop unused EXEC_DIR_NONEMike Yuan2024-10-151-6/+6
* core: warn if a generator is world-writableLukas Nykryn2024-10-071-0/+12
* tree-wide: use isatty_safe() moreLennart Poettering2024-08-201-2/+2
* shared/exec-util: add macro to autoinsert sentinel for fork_agent()Zbigniew Jędrzejewski-Szmek2024-07-221-1/+1
* shared: log error when execve failMauri de Souza Meneguzzo2024-07-221-0/+1
* exec-util: modernize exec_command_flags_{to,from}_strvMike Yuan2024-07-201-26/+23
* exec-util: make sure to close all fds for invoked generatorsLennart Poettering2024-05-291-1/+1
* exec-util: use the stdio array of safe_fork_full() where appropriateLennart Poettering2024-05-291-11/+19
* fd-util: Expose helper to pack fds into 3,4,5,...Adrian Vovk2024-02-191-1/+1
* exec-util: don't say sd-executor to avoid ambiguityMike Yuan2023-11-231-2/+2
* process-util: add new FORK_DEATHSIG_SIGKILL flag, rename FORK_DEATHSIG → FO...Lennart Poettering2023-11-021-3/+3
* exec-util: print executed commands in do_execute()Zbigniew Jędrzejewski-Szmek2023-09-281-0/+9
* 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-201-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-02-011-0/+9
* tree-wide: always use TAKE_FD() when calling rearrange_stdio()Lennart Poettering2021-11-041-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-01-311-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
|/