~ubuntu-security/apparmor-easyprof-ubuntu/trunk

« back to all changes in this revision

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

  • Committer: Jamie Strandboge
  • Date: 2015-06-05 19:24:05 UTC
  • mfrom: (20.1.1 libual-tps)
  • Revision ID: jamie@ubuntu.com-20150605192405-253k2anb5be1ahia
[ 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