summaryrefslogtreecommitdiffstats
path: root/src/shared/exec-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-16 08:31:10 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-16 12:40:12 +0200
commit8521338f95142203cb29c85113c13f9301fcee6a (patch)
tree220a2e423810a0f0a7fe656f8cc650b8e2181c4d /src/shared/exec-util.h
parentMerge pull request #27283 from mrc0mmand/assorted-test-tweaks (diff)
downloadsystemd-8521338f95142203cb29c85113c13f9301fcee6a.tar.xz
systemd-8521338f95142203cb29c85113c13f9301fcee6a.zip
exec-util: make execute_strv() optionally take root directory
Preparation for rewriting kernel-install in C.
Diffstat (limited to 'src/shared/exec-util.h')
-rw-r--r--src/shared/exec-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/exec-util.h b/src/shared/exec-util.h
index 91dbe3f3b4..b99336ee3b 100644
--- a/src/shared/exec-util.h
+++ b/src/shared/exec-util.h
@@ -34,6 +34,7 @@ typedef enum ExecCommandFlags {
int execute_strv(
const char *name,
char* const* paths,
+ const char *root,
usec_t timeout,
gather_stdout_callback_t const callbacks[_STDOUT_CONSUME_MAX],
void* const callback_args[_STDOUT_CONSUME_MAX],