diff options
author | alexlzhu <alexlzhu@devvm2387.atn0.facebook.com> | 2021-07-08 17:10:47 -0700 |
---|---|---|
committer | Chris Down <chris@chrisdown.name> | 2021-09-28 14:52:27 +0100 |
commit | 8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938 (patch) | |
tree | be87626fe62937be49a7b3388d75d44623ed2c5d /src/core/load-fragment-gperf.gperf.in | |
parent | 5b32e48f6e3753600b9f6c44446b313294270f48 (diff) | |
download | systemd-8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938.tar.gz |
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/load-fragment-gperf.gperf.in')
-rw-r--r-- | src/core/load-fragment-gperf.gperf.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.in b/src/core/load-fragment-gperf.gperf.in index 17c43005bc..7bef95bec7 100644 --- a/src/core/load-fragment-gperf.gperf.in +++ b/src/core/load-fragment-gperf.gperf.in @@ -105,6 +105,7 @@ {{type}}.InaccessiblePaths, config_parse_namespace_path_strv, 0, offsetof({{type}}, exec_context.inaccessible_paths) {{type}}.ExecPaths, config_parse_namespace_path_strv, 0, offsetof({{type}}, exec_context.exec_paths) {{type}}.NoExecPaths, config_parse_namespace_path_strv, 0, offsetof({{type}}, exec_context.no_exec_paths) +{{type}}.ExecSearchPath, config_parse_colon_separated_paths, 0, offsetof({{type}}, exec_context.exec_search_path) {{type}}.BindPaths, config_parse_bind_paths, 0, offsetof({{type}}, exec_context) {{type}}.BindReadOnlyPaths, config_parse_bind_paths, 0, offsetof({{type}}, exec_context) {{type}}.TemporaryFileSystem, config_parse_temporary_filesystems, 0, offsetof({{type}}, exec_context) |