Patch from Colin Walters for http://bugs.freedesktop.org/show_bug.cgi?id=19020,
adapted to apply to Debian's ConsoleKit.
He writes:
> This patch is relatively conservative; it adds send_destination= to all the
> rules (as is very important, see
> https://bugs.freedesktop.org/show_bug.cgi?id=18961).
>
> It also adds SetIdleHint into the default allow. From the source it looks that
> that method implementation checks the caller.
>
> Please review.
>
> Also an open question - do all the methods verify their caller? In that case
> the policy file can be *much* simpler; see:
> http://lists.freedesktop.org/archives/dbus/2008-December/010717.html
--- a/data/ConsoleKit.conf 2009-01-06 02:59:15.000000000 +0000
+++ b/data/ConsoleKit.conf 2009-01-06 03:04:38.000000000 +0000
@@ -8,89 +8,129 @@
-
-
-
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-