From: Lennart Poettering Date: Mon, 18 Aug 2025 21:19:40 +0000 (+0200) Subject: mountfsd: include polkit allowInteractiveAuthorization field in IDL X-Git-Tag: v258-rc3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de9e6428b5e88051409bc7ac7cbd78609fdc20f7;p=thirdparty%2Fsystemd.git mountfsd: include polkit allowInteractiveAuthorization field in IDL Otherwise this option can never be actually used, as the IDL checker will refuse any attempts to pass it. Follow-up for: 0261fe571b3e05834b4c7826447ac6e6e434f08e --- diff --git a/src/shared/varlink-io.systemd.MountFileSystem.c b/src/shared/varlink-io.systemd.MountFileSystem.c index ec0291a0ac7..e8bfe717114 100644 --- a/src/shared/varlink-io.systemd.MountFileSystem.c +++ b/src/shared/varlink-io.systemd.MountFileSystem.c @@ -105,6 +105,7 @@ static SD_VARLINK_DEFINE_METHOD( SD_VARLINK_DEFINE_INPUT(parentFileDescriptor, SD_VARLINK_INT, 0), SD_VARLINK_FIELD_COMMENT("Name of the directory to create."), SD_VARLINK_DEFINE_INPUT(name, SD_VARLINK_STRING, 0), + VARLINK_DEFINE_POLKIT_INPUT, SD_VARLINK_FIELD_COMMENT("File descriptor referencing the newly created directory."), SD_VARLINK_DEFINE_OUTPUT(directoryFileDescriptor, SD_VARLINK_INT, 0));