diff options
author | Havoc Pennington <hp@redhat.com> | 2006-02-26 08:11:03 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2006-02-26 08:11:03 +0000 |
commit | 9f5e6ff8e969665eca8a79bec8792685c99cece4 (patch) | |
tree | 37614dceb2179c8da092f41f45dba98813dc066c | |
parent | 20c70e09b2b8d140c196398fbd56675cd926c9a8 (diff) |
2006-02-26 Havoc Pennington <hp@redhat.com>
* bus/dbus-daemon.1.in: improve the language in a couple spots I noticed
* dbus/dbus-bus.c (internal_bus_get): in the error message if the
session bus variable is unset, suggest "man dbus-launch" and "man
dbus-daemon" to figure out how to fix the problem
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | bus/dbus-daemon.1.in | 20 | ||||
-rw-r--r-- | dbus/dbus-bus.c | 2 |
3 files changed, 23 insertions, 7 deletions
@@ -1,3 +1,11 @@ +2006-02-26 Havoc Pennington <hp@redhat.com> + + * bus/dbus-daemon.1.in: improve the language in a couple spots I noticed + + * dbus/dbus-bus.c (internal_bus_get): in the error message if the + session bus variable is unset, suggest "man dbus-launch" and "man + dbus-daemon" to figure out how to fix the problem + 2006-02-25 Havoc Pennington <hp@redhat.com> * glib/dbus-glib-tool.c (usage): fix up the usage message, someone diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in index 902ff37..5144bc1 100644 --- a/bus/dbus-daemon.1.in +++ b/bus/dbus-daemon.1.in @@ -295,16 +295,22 @@ by max_message_size. .PP max_completed_connections divided by max_connections_per_user is the -number of users that can work together to DOS all other users by using -up all connections. +number of users that can work together to denial-of-service all other users by using +up all connections on the systemwide bus. + +.PP +Limits are normally only of interest on the systemwide bus, not the user session +buses. .TP .I "<policy>" .PP -The <policy> element defines a policy to be applied to a particular +The <policy> element defines a security policy to be applied to a particular set of connections to the bus. A policy is made up of -<allow> and <deny> elements. +<allow> and <deny> elements. Policies are normally used with the systemwide bus; +they are analogous to a firewall in that they allow expected traffic +and prevent unexpected traffic. .PP The <policy> element has one of three attributes: @@ -559,11 +565,13 @@ probably add a way to set the default connection context. Second, any time a connection asks to own a name, the bus daemon will check permissions with the security context of the connection as source, the security context specified -for the name with an <associate> element as target, object +for the name in the config file as target, object class "dbus" and requested permission "acquire_svc". .PP -If the name has no security context associated in the +The security context for a bus name is specified with the +<associate> element described earlier in this document. +If a name has no security context associated in the configuration file, the security context of the bus daemon itself will be used. diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c index 8ba7d94..060b0ba 100644 --- a/dbus/dbus-bus.c +++ b/dbus/dbus-bus.c @@ -351,7 +351,7 @@ internal_bus_get (DBusBusType type, if (address == NULL) { dbus_set_error (error, DBUS_ERROR_FAILED, - "Unable to determine the address of the message bus"); + "Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)"); _DBUS_UNLOCK (bus); return NULL; } |