diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2017-03-14 10:49:25 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2017-03-14 10:49:25 +1300 |
commit | 4aa6f7b135eab53cf1e23d31904a80fa5e1900d3 (patch) | |
tree | 90e3a6fc356fe00ef7365272a7ac45add3e0c7f0 | |
parent | fe237906116de16f11613a7c1ea5543bd43ee3a8 (diff) | |
parent | 1cb7456fe66af85a04d0808961ff62262118c6dd (diff) | |
download | lightdm-git-4aa6f7b135eab53cf1e23d31904a80fa5e1900d3.tar.gz |
Allow guest sessions to talk to Mir (allowing unity8)
-rw-r--r-- | data/apparmor/abstractions/lightdm | 1 | ||||
-rw-r--r-- | data/apparmor/lightdm-guest-session.in | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/data/apparmor/abstractions/lightdm b/data/apparmor/abstractions/lightdm index ffcd195b..4be3d4a3 100644 --- a/data/apparmor/abstractions/lightdm +++ b/data/apparmor/abstractions/lightdm @@ -77,6 +77,7 @@ /{,var/}run/ r, # necessary for writing to sockets, etc. /{,var/}run/** rmkix, + /{,var/}run/mir_socket rw, /{,var/}run/screen/** wl, /{,var/}run/shm/** wl, /{,var/}run/uuidd/request w, diff --git a/data/apparmor/lightdm-guest-session.in b/data/apparmor/lightdm-guest-session.in index 76c24c47..3239c54b 100644 --- a/data/apparmor/lightdm-guest-session.in +++ b/data/apparmor/lightdm-guest-session.in @@ -19,6 +19,9 @@ /usr/bin/sogou-sys-notify ix, /tmp/sogou-qimpanel:* rwl, + # Allow ibus + unix (bind, listen) type=stream addr="@tmp/ibus/*", + # mozc_server needs special treatment due to C/S design unix (bind, listen) type=stream addr="@tmp/.mozc.*", } |