diff --git a/man/rules/meson.build b/man/rules/meson.build index 8be77e049fd..e9d83dd9e16 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -337,6 +337,8 @@ manpages = [ '3', ['sd_bus_get_allow_interactive_authorization', 'sd_bus_get_description', + 'sd_bus_is_anonymous', + 'sd_bus_is_trusted', 'sd_bus_set_allow_interactive_authorization', 'sd_bus_set_anonymous', 'sd_bus_set_trusted'], diff --git a/man/sd_bus_set_description.xml b/man/sd_bus_set_description.xml index 3c5580e27ca..776a2579431 100644 --- a/man/sd_bus_set_description.xml +++ b/man/sd_bus_set_description.xml @@ -19,7 +19,9 @@ sd_bus_set_description sd_bus_get_description sd_bus_set_anonymous + sd_bus_is_anonymous sd_bus_set_trusted + sd_bus_is_trusted sd_bus_set_allow_interactive_authorization sd_bus_get_allow_interactive_authorization @@ -48,12 +50,22 @@ int b + + int sd_bus_is_anonymous + sd_bus *bus + + int sd_bus_set_trusted sd_bus *bus int b + + int sd_bus_is_trusted + sd_bus *bus + + int sd_bus_set_allow_interactive_authorization sd_bus *bus @@ -91,11 +103,17 @@ url="view-source:https://dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms">Authentication Mechanisms section of the D-Bus specification for details. + sd_bus_is_anonymous() returns true if the bus connection allows anonymous + authentication (in the sense described in previous paragraph). + sd_bus_set_trusted() sets the "trusted" state on the bus object. If true, all connections on the bus are - trusted and access to all privileged and unprivileged methods is granted. This + trusted and access to all privileged and unprivileged methods is granted. This function must be called before the bus has been started. + sd_bus_is_trusted() returns true if the bus connection is trusted (in the + sense described in previous paragraph). + sd_bus_set_allow_interactive_authorization() enables or disables interactive authorization for method calls. If true, messages are marked with the