Skip to content

gdbus: Reject attempts to set future connection or server flags

Simon McVittie requested to merge wip/gdbus-flags-from-the-future into master

The GDBusConnectionFlags and GDBusServerFlags can affect how we carry out authentication and authorization, either making it more or less restrictive, so it's desirable to "fail closed" if a program is compiled against a new version of GLib but run against an old version.


As mentioned on !1814 (merged), I'd like to get this into 2.66.x before we add G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER.

/cc @pwithnall

Merge request reports