~ubuntu-branches/ubuntu/wily/apparmor-easyprof-ubuntu/wily-proposed

« back to all changes in this revision

Viewing changes to data/templates/ubuntu/1.0/ubuntu-sdk

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge, Ted Gould
  • Date: 2015-06-05 14:17:58 UTC
  • Revision ID: package-import@ubuntu.com-20150605141758-1i252vlmh2p610q6
Tags: 15.10.2
[ Ted Gould ]
ubuntu/ubuntu-sdk: DBus rule for UAL TPS untrusted helpers (LP: #1462494)

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
       member="Open"
189
189
       peer=(label=unconfined),
190
190
 
 
191
  # Untrusted Helpers are 3rd party apps that run in a different confinement
 
192
  # context and are in a separate Mir session from the calling app (eg, an
 
193
  # app that uses a content provider from another app). These helpers use
 
194
  # Trusted Prompt Sessions to overlay their window over the calling app and
 
195
  # need to get the Mir socket that was setup by the associated trusted helper
 
196
  # (eg, content-hub). Typical consumers are content-hub providers,
 
197
  # pay-service, url-dispatcher and possibly online-accounts.
 
198
  # LP: #1462492 - this rule is suboptimal and should not be needed once we
 
199
  # move to socket activation or FD passing
 
200
  dbus (receive, send)
 
201
       path=/com/canonical/UbuntuAppLaunch/@{APP_ID_DBUS}/*
 
202
       interface="org.canonical.UbuntuAppLaunch.SocketDemangler"
 
203
       member="GetMirSocket"
 
204
       bus=session
 
205
       peer=(label=unconfined),
 
206
 
191
207
  # TODO: finetune this
192
208
  dbus (send)
193
209
       bus=session