diff options
author | Michael Terry <mike@mterry.name> | 2017-03-13 14:20:17 -0400 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2017-03-13 14:20:17 -0400 |
commit | 1cb7456fe66af85a04d0808961ff62262118c6dd (patch) | |
tree | 90e3a6fc356fe00ef7365272a7ac45add3e0c7f0 | |
parent | fe237906116de16f11613a7c1ea5543bd43ee3a8 (diff) | |
download | lightdm-git-1cb7456fe66af85a04d0808961ff62262118c6dd.tar.gz |
Allow guest session to connect to Mir and use ibus
-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.*", } |