summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Shaw <joeshaw@novell.com>2005-02-18 18:18:32 +0000
committerJoe Shaw <joeshaw@novell.com>2005-02-18 18:18:32 +0000
commit369b981562d4ca6ec956b713ce36640b974deb87 (patch)
treeb3f2ef5aedc696fed700fb4d1edf35958ff89ede
parent3a086702d46621e5f70edcda40494ace85a63f42 (diff)
downloaddbus-369b981562d4ca6ec956b713ce36640b974deb87.tar.gz
2005-02-18 Joe Shaw <joeshaw@novell.com>
* NEWS: Update for 0.23.2 * configure.in: Release 0.23.2 2005-02-16 Joe Shaw <joeshaw@novell.com>
-rw-r--r--ChangeLog15
-rw-r--r--NEWS6
-rw-r--r--bus/policy.c5
-rw-r--r--bus/session.conf.in2
-rw-r--r--configure.in2
5 files changed, 25 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c1609e24..44e1f7fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-18 Joe Shaw <joeshaw@novell.com>
+
+ * NEWS: Update for 0.23.2
+
+ * configure.in: Release 0.23.2
+
2005-02-16 Joe Shaw <joeshaw@novell.com>
* dbus/dbus-connection-internal.h, dbus/dbus-connection.[ch],
@@ -49,6 +55,15 @@
we don't get unmanaged code calling back into a GCed delegate.
(RemoveFilter); Added.
+2005-01-31 Havoc Pennington <hp@redhat.com>
+
+ * bus/policy.c (bus_policy_allow_user): change default "user is
+ allowed" to be "user has same uid as the bus itself"; any
+ allow/deny rules will override.
+
+ * bus/session.conf.in: don't allow all users, since now by default
+ the user that ran the bus can connect.
+
2005-01-12 Joe Shaw <joeshaw@novell.com>
* NEWS: Update for 0.23.
diff --git a/NEWS b/NEWS
index d54108c9..07bfae88 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+D-BUS 0.23.2 (18 Feb 2005)
+===
+- shuffle some code around in the mono bindings to deterministically
+ finalize classes so that delegates are unregistered correctly.
+- backport a bunch of thread locking-related fixes from HEAD.
+
D-BUS 0.23.1 (11 Feb 2005)
===
- fix a bug in which the bus daemon wouldn't recognize that a service
diff --git a/bus/policy.c b/bus/policy.c
index 7759dfad..c0244bdc 100644
--- a/bus/policy.c
+++ b/bus/policy.c
@@ -453,8 +453,9 @@ bus_policy_allow_user (BusPolicy *policy,
uid);
return FALSE;
}
-
- allowed = FALSE;
+
+ /* Default to "user owning bus" or root can connect */
+ allowed = uid == _dbus_getuid ();
allowed = list_allows_user (allowed,
&policy->default_rules,
diff --git a/bus/session.conf.in b/bus/session.conf.in
index 8b6d65f7..1a6dfda5 100644
--- a/bus/session.conf.in
+++ b/bus/session.conf.in
@@ -19,8 +19,6 @@
<allow eavesdrop="true"/>
<!-- Allow anyone to own anything -->
<allow own="*"/>
- <!-- Allow any user to connect -->
- <allow user="*"/>
</policy>
<!-- This is included last so local configuration can override what's
diff --git a/configure.in b/configure.in
index ad646062..27388129 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ AC_PREREQ(2.52)
AC_INIT(dbus/dbus.h)
-AM_INIT_AUTOMAKE(dbus, 0.23.1)
+AM_INIT_AUTOMAKE(dbus, 0.23.2)
AM_CONFIG_HEADER(config.h)