summaryrefslogtreecommitdiffstats
path: root/src/core/execute.h
diff options
context:
space:
mode:
authoralexlzhu <alexlzhu@devvm2387.atn0.facebook.com>2021-07-09 02:10:47 +0200
committerChris Down <chris@chrisdown.name>2021-09-28 15:52:27 +0200
commit8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938 (patch)
treebe87626fe62937be49a7b3388d75d44623ed2c5d /src/core/execute.h
parentMerge pull request #20837 from bluca/coveralls (diff)
downloadsystemd-8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938.tar.xz
systemd-8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938.zip
core: Add ExecSearchPath parameter to specify the directory relative to which binaries executed by Exec*= should be found
Currently there does not exist a way to specify a path relative to which all binaries executed by Exec should be found. The only way is to specify the absolute path. This change implements the functionality to specify a path relative to which binaries executed by Exec*= can be found. Closes #6308
Diffstat (limited to 'src/core/execute.h')
-rw-r--r--src/core/execute.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/execute.h b/src/core/execute.h
index fceb8bb6f7..64a38b2d26 100644
--- a/src/core/execute.h
+++ b/src/core/execute.h
@@ -254,6 +254,7 @@ struct ExecContext {
char *smack_process_label;
char **read_write_paths, **read_only_paths, **inaccessible_paths, **exec_paths, **no_exec_paths;
+ char **exec_search_path;
unsigned long mount_flags;
BindMount *bind_mounts;
size_t n_bind_mounts;