1
Description: create a mir abstraction, allow access to mir libs
2
Author: Steve Beattie <steve.beattie@canonical.com>
3
Forwarded: Not yet, need to stabilize the abstraction first
4
Bug-Ubuntu: https://launchpad.net/bugs/1422521
6
profiles/apparmor.d/abstractions/mir | 16 ++++++++++++++++
7
1 file changed, 16 insertions(+)
9
Index: b/profiles/apparmor.d/abstractions/mir
10
===================================================================
12
+++ b/profiles/apparmor.d/abstractions/mir
14
+# vim:syntax=apparmor
15
+# ------------------------------------------------------------------
17
+# Copyright (C) 2015 Canonical Ltd.
19
+# This program is free software; you can redistribute it and/or
20
+# modify it under the terms of version 2 of the GNU General Public
21
+# License published by the Free Software Foundation.
23
+# ------------------------------------------------------------------
25
+ # mir libraries sometimes do not have a lib prefix
27
+ /usr/lib/@{multiarch}/mir/*.so* mr,
28
+ /usr/lib/@{multiarch}/mir/**/*.so* mr,
30
+ # unprivileged mir socket for clients
31
+ owner /{,var/}run/user/*/mir_socket rw,