run: support RootMStack= on the client side for systemd-run
This commit is contained in:
+1
-1
@@ -3053,7 +3053,7 @@ static bool shall_make_executable_absolute(void) {
|
||||
if (!arg_root_directory && running_in_chroot() > 0)
|
||||
return false;
|
||||
|
||||
FOREACH_STRING(f, "RootDirectory=", "RootImage=", "ExecSearchPath=", "MountImages=", "ExtensionImages=")
|
||||
FOREACH_STRING(f, "RootDirectory=", "RootImage=", "RootMStack=", "ExecSearchPath=", "MountImages=", "ExtensionImages=")
|
||||
if (strv_find_startswith(arg_property, f))
|
||||
return false;
|
||||
|
||||
|
||||
@@ -2468,6 +2468,7 @@ static const BusProperty execute_properties[] = {
|
||||
{ "SELinuxContext", bus_append_string },
|
||||
{ "RootImage", bus_append_string },
|
||||
{ "RootVerity", bus_append_string },
|
||||
{ "RootMStack", bus_append_string },
|
||||
{ "RuntimeDirectoryPreserve", bus_append_string },
|
||||
{ "Personality", bus_append_string },
|
||||
{ "KeyringMode", bus_append_string },
|
||||
|
||||
Reference in New Issue
Block a user