[apparmor] [PATCH 2/2] profiles: Create D-Bus abstraction for the accessibility bus

Tyler Hicks tyhicks at canonical.com
Fri Dec 20 06:06:47 UTC 2013


The accessibility bus uses an abstract socket, so there hasn't been a
need for an accessibility bus abstraction in the past. Now that D-Bus
mediation is supported, an abstraction becomes a useful place to put
accessibility bus D-Bus rules.

This patch follows the lead of the dbus and dbus-session abstraction by
granting full access to the accessibility bus.

Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
 profiles/apparmor.d/abstractions/dbus-accessibility | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 profiles/apparmor.d/abstractions/dbus-accessibility

diff --git a/profiles/apparmor.d/abstractions/dbus-accessibility b/profiles/apparmor.d/abstractions/dbus-accessibility
new file mode 100644
index 0000000..f52eb7b
--- /dev/null
+++ b/profiles/apparmor.d/abstractions/dbus-accessibility
@@ -0,0 +1,12 @@
+# vim:syntax=apparmor
+# ------------------------------------------------------------------
+#
+#    Copyright (C) 2013 Canonical Ltd.
+#
+#    This program is free software; you can redistribute it and/or
+#    modify it under the terms of version 2 of the GNU General Public
+#    License published by the Free Software Foundation.
+#
+# ------------------------------------------------------------------
+
+  dbus bus=accessibility,
-- 
1.8.3.2




More information about the AppArmor mailing list