]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mountfsd: include polkit allowInteractiveAuthorization field in IDL
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2025 21:19:40 +0000 (23:19 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 19 Aug 2025 10:48:14 +0000 (11:48 +0100)
Otherwise this option can never be actually used, as the IDL checker
will refuse any attempts to pass it.

Follow-up for: 0261fe571b3e05834b4c7826447ac6e6e434f08e

src/shared/varlink-io.systemd.MountFileSystem.c

index ec0291a0ac7effbd1774a68c6163ca85c7d2a0c1..e8bfe717114728f66d21f6ce4aa5fc27717a5be0 100644 (file)
@@ -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));