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
This commit is contained in:
alexlzhu
2021-09-28 14:52:27 +01:00
committed by Chris Down
parent 5b32e48f6e
commit 8c35c10d20
27 changed files with 360 additions and 13 deletions
@@ -5,6 +5,7 @@ AllowedMemoryNodes=
AmbientCapabilities=
AppArmorProfile=
BPFProgram=
ExecSearchPath=
BindPaths=
BindReadOnlyPaths=
BlockIOAccounting=
@@ -31,6 +31,7 @@ AssertUser=
AssertVirtualization=
BPFProgram=
Before=
ExecSearchPath=
BindTo=
BindsTo=
CollectMode=
@@ -7,6 +7,7 @@ AmbientCapabilities=
AppArmorProfile=
BPFProgram=
Backlog=
ExecSearchPath=
BindIPv6Only=
BindPaths=
BindReadOnlyPaths=
+1
View File
@@ -5,6 +5,7 @@ AllowedMemoryNodes=
AmbientCapabilities=
AppArmorProfile=
BPFProgram=
ExecSearchPath=
BindPaths=
BindReadOnlyPaths=
BlockIOAccounting=