diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-18 17:00:02 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-18 19:57:44 +0100 |
commit | 92b6df1d68a4d590c56fdcf2e09bc3f9e7e526b3 (patch) | |
tree | 4ae714d3382f9415f5f9e3f1c9646ea94fce061b /man/sd_bus_set_description.xml | |
parent | sd-bus: mark sd_bus_try_close() as deprecated (diff) | |
download | systemd-92b6df1d68a4d590c56fdcf2e09bc3f9e7e526b3.tar.xz systemd-92b6df1d68a4d590c56fdcf2e09bc3f9e7e526b3.zip |
man: mention sd_bus_is_anonymous() and sd_bus_is_trusted()
Diffstat (limited to 'man/sd_bus_set_description.xml')
-rw-r--r-- | man/sd_bus_set_description.xml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/man/sd_bus_set_description.xml b/man/sd_bus_set_description.xml index 3c5580e27c..776a257943 100644 --- a/man/sd_bus_set_description.xml +++ b/man/sd_bus_set_description.xml @@ -19,7 +19,9 @@ <refname>sd_bus_set_description</refname> <refname>sd_bus_get_description</refname> <refname>sd_bus_set_anonymous</refname> + <refname>sd_bus_is_anonymous</refname> <refname>sd_bus_set_trusted</refname> + <refname>sd_bus_is_trusted</refname> <refname>sd_bus_set_allow_interactive_authorization</refname> <refname>sd_bus_get_allow_interactive_authorization</refname> @@ -49,12 +51,22 @@ </funcprototype> <funcprototype> + <funcdef>int <function>sd_bus_is_anonymous</function></funcdef> + <paramdef>sd_bus *<parameter>bus</parameter></paramdef> + </funcprototype> + + <funcprototype> <funcdef>int <function>sd_bus_set_trusted</function></funcdef> <paramdef>sd_bus *<parameter>bus</parameter></paramdef> <paramdef>int <parameter>b</parameter></paramdef> </funcprototype> <funcprototype> + <funcdef>int <function>sd_bus_is_trusted</function></funcdef> + <paramdef>sd_bus *<parameter>bus</parameter></paramdef> + </funcprototype> + + <funcprototype> <funcdef>int <function>sd_bus_set_allow_interactive_authorization</function></funcdef> <paramdef>sd_bus *<parameter>bus</parameter></paramdef> <paramdef>int <parameter>b</parameter></paramdef> @@ -91,11 +103,17 @@ url="view-source:https://dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms">Authentication Mechanisms</ulink> section of the D-Bus specification for details.</para> + <para><function>sd_bus_is_anonymous()</function> returns true if the bus connection allows anonymous + authentication (in the sense described in previous paragraph).</para> + <para><function>sd_bus_set_trusted()</function> sets the "trusted" state on the <parameter>bus</parameter> 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.</para> + <para><function>sd_bus_is_trusted()</function> returns true if the bus connection is trusted (in the + sense described in previous paragraph).</para> + <para><function>sd_bus_set_allow_interactive_authorization()</function> enables or disables interactive authorization for method calls. If true, messages are marked with the |