dissect: support mount options when going through mountfsd, requiring privileges via polkit (#39394)
RootImageOptions=/ExtensionImages=/MountImages= all support custom mount options, but mountfsd does not support it. Add varlink parameters to allow callers to specify mount options so that those directives can work as expected. Require additional privs via polkit.
This commit is contained in:
@@ -2190,6 +2190,7 @@ static int run(int argc, char *argv[]) {
|
||||
r = mountfsd_mount_image(
|
||||
arg_image,
|
||||
userns_fd,
|
||||
/* options= */ NULL,
|
||||
arg_image_policy,
|
||||
&arg_verity_settings,
|
||||
arg_flags,
|
||||
|
||||
Reference in New Issue
Block a user